-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CORS header #10
Comments
Is this for all requests? I can check when I finish moving |
yeah its all requests |
I don't think the error is about CORS, it just doesn't load at all even without JS sandboxing restrictions
The reason why it results in a CORS error is probably the fact that I'm not adding any headers from nginx and I'm just doing so from Python. I could change the nginx config to add the headers. |
Okay so running
|
sobs |
I started the development server temporarily, so I think it's running right now |
odd i restarted it and it's not crashing anymore (in production mode) |
whenever i request from the backend API, I get the folllwing error:
Access to fetch at 'https://uplink.mit.edu/users/me/lists' from origin 'http://localhost:5173' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
The text was updated successfully, but these errors were encountered: