-
-
Notifications
You must be signed in to change notification settings - Fork 373
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 headers not set when access-control-request-headers is set #660
Comments
I read #649 but my express server does not send a I enabled
Also the examples in the git repo does not cover CORS with POST and authorization header and the graphql example |
Found something that wasn't in the documentation, but was available in the code, It is not used in any of the examples But I will add one 😄 I would also suggest that |
I'll fix the docs, I just noticed the defaults for allowed_headers is incorrect on the site, it's |
Fixed the docs to show those defaults and added apex/up-examples@b3339a6 |
That is awesome, thank you! 👍 |
Prerequisites
up upgrade
)-v, --verbose
flag.Description
When the
access-control-request-headers
header is set theCORS
headers are not returned and therefore CORS breaks in javascript. The first example is my localhost, the second is without the headers that they browsers send, and the third is to simulate the browsers header.The text was updated successfully, but these errors were encountered: