Forums

Does pythonanywhere support flask_cors (CORS)?

from flask_cors import CORS

app = Flask(name)

CORS(app)

The above doesn't seem to work?

CORS is not something that is either supported or not supported on PythonAnywhere. It is something that is entirely up to your web app to handle.