Still get CORS error with Flask despite having set headers

前端 未结 0 1882
时光说笑
时光说笑 2021-02-11 09:38

I have a Flask app with the following:

app = Flask(__name__)
cors = CORS(app, resources={r"/api/*": {"origins": "*"}})

@app.after_r         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题