Cors flacons
from flask import Flask
from flask_cors import CORS
app = Flask(__name__)
CORS(app, resources={r"*": {"origins": "*"}})
Leo
from flask import Flask
from flask_cors import CORS
app = Flask(__name__)
CORS(app, resources={r"*": {"origins": "*"}})
$ pip install flask-cors
conda install -c anaconda flask-cors