Answers for "cors = CORS(app, resources="

6

cors error in flask

from flask import Flask
from flask_cors import CORS, cross_origin

app = Flask(__name__)
CORS(app)

@app.route("/")
def helloWorld():
    return "Hello world"
Posted by: Guest on June-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language