ajax请求跨域问题
https://www.cnblogs.com/anxminise/p/9814326.html
flask全局跨域
from flask import Flask
from flask_cors import CORS
app = Flask(__name__)
CORS(app)
@app.route("/")
def helloWorld():
return "Hello, world!"
ajax请求跨域问题
https://www.cnblogs.com/anxminise/p/9814326.html
flask全局跨域
from flask import Flask
from flask_cors import CORS
app = Flask(__name__)
CORS(app)
@app.route("/")
def helloWorld():
return "Hello, world!"