Closed pluveto closed 2 years ago
code:
app = Flask(__name__) app = CORS(app, supports_credentials=True) api = Api(app) api.add_resource(SummaryResource, '/summary') api.add_resource(IndexResource, '/') app.run(host=HOST, port=PORT, debug=DEBUG_MODE, load_dotenv=False, use_reloader=False)
version: flask 2.1.2 cors 3.0.10
using with Flask-RESTful 0.3.8
Oh, CORS is not a pipeline, I should not use its ret val
code: