reactFlaskTutorial icon indicating copy to clipboard operation
reactFlaskTutorial copied to clipboard

CORS issue

Open filifunk opened this issue 4 years ago • 1 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?

filifunk avatar May 24 '21 02:05 filifunk

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

image

Maybe try this.

gdorionara avatar May 31 '23 01:05 gdorionara