We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Browser sends a OPTIONS request to determine cors and when using something like:
OPTIONS
aliases: { 'POST login': 'v1.auth.login', }
it won't work since OPTIONS request is not allowed. This will work, however:
aliases: { 'OPTIONS login': 'v1.auth.login', 'POST login': 'v1.auth.login', }
The text was updated successfully, but these errors were encountered:
Thanks. I need to reorder the processes in httpHandler. The aliases are processed sooner than CORS logic.
httpHandler
Sorry, something went wrong.
fix cors OPTIONS handling #30
f9b17db
Released in 0.6.1
No branches or pull requests
Problem
Browser sends a
OPTIONS
request to determine cors and when using something like:it won't work since
OPTIONS
request is not allowed. This will work, however:The text was updated successfully, but these errors were encountered: