-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Description
I am unable to login to the vue js dashboard, and the console reads Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost/api/v1/login/access-token. (Reason: CORS request did not succeed).
. I did try changing cors on main.py.
I think this issue is arising because i am developing on a remote machine and I am accessing it via its public IP and not a domain name, and the console message tells that the remote resource at localhost was inaccessible. The application is currently the default cookiecutter config, with the only change being in main.py cors. I tried changing the allow origin to ['*'],[] and removing it altogether too!
Any pointers in fixing this would be of great help, thanks in advance!