-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Proxy Origin and Referer #64
Labels
Comments
Yep! CROS is not enabled yet. It's coming in upcoming update |
Nice to hear that! 😄 |
As of now I use a chrome extension to enable CORS. |
This features is already added in v3.1.0. (Sorry, I forget to close it) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! It would be a very interesting feature that when you use the proxy the
Origin
header of the HTTP request also changes to the proxied url. Because for example, I want to use the proxy to skip the CORS in a customer API that doesn't allow CORS.This is the response I'm getting:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:5500' is therefore not allowed access.
So as I can see the proxy only changes the destination url, but not the Origin and the Referer. This could be a very interesting feature to easy skip CORS.
The text was updated successfully, but these errors were encountered: