I have used the flask-cors extension.
Install using pip install flask-cors
Then it’s simply
from flask_cors import CORS
app = Flask(__name__)
CORS(app)
This will allow all domains
I have used the flask-cors extension.
Install using pip install flask-cors
Then it’s simply
from flask_cors import CORS
app = Flask(__name__)
CORS(app)
This will allow all domains