Reine0017 / reactFlaskTutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CORS issue

filifunk opened this issue · comments

I keep getting this even though I commented out the CORS related lines as instructed:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://react-flask-tutorial.herokuapp.com/flask/hello. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Any idea how to overcome this?

I don't know if this is still relevant, but there is this commented line in the app.py,

image

Maybe try this.