You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in frontend/src/components/Home.vue http://localhost:5000/api/random and run.py @app.route('/api/random') the route looks like can not run report a bug :
Access to XMLHttpRequest at 'http://localhost:5000/api/random' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
i modify it http://localhost:5000/api/random/ and @app.route('/api/random/') this be ok
The text was updated successfully, but these errors were encountered:
in frontend/src/components/Home.vue
http://localhost:5000/api/random
and run.py @app.route('/api/random') the route looks like can not run report a bug :Access to XMLHttpRequest at 'http://localhost:5000/api/random' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
i modify it
http://localhost:5000/api/random/
and @app.route('/api/random/') this be okThe text was updated successfully, but these errors were encountered: