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
{{ message }}
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
Hi everyone.
I understand I'm doing something wrong, but I'm having trouble with setting up a Flask backend + Vue.js frontend.
I've added the Vue origins (port 8080) to CORS_ORIGIN_WHITELIST in settings.py, and was able to sign up and sign in. The problem occurs when I'm trying to add a new article.
I'm getting hit by the following error in the browser
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:5000/api/articles. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
I've seen a couple of suggestions online (such a browser addon to bypass this), but would really appreciate if anyone knows the proper way to do this.
Hi everyone.
I understand I'm doing something wrong, but I'm having trouble with setting up a Flask backend + Vue.js frontend.
I've added the Vue origins (port 8080) to CORS_ORIGIN_WHITELIST in settings.py, and was able to sign up and sign in. The problem occurs when I'm trying to add a new article.
I'm getting hit by the following error in the browser
I've seen a couple of suggestions online (such a browser addon to bypass this), but would really appreciate if anyone knows the proper way to do this.
Regards
The text was updated successfully, but these errors were encountered: