Skip to content
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

A question about the type of the origin option value. #271

Open
annahxxl opened this issue Jul 5, 2022 · 3 comments
Open

A question about the type of the origin option value. #271

annahxxl opened this issue Jul 5, 2022 · 3 comments
Labels

Comments

@annahxxl
Copy link

annahxxl commented Jul 5, 2022

If you put an array in the origin option as shown below, the access-control-allow-origin value is not created in the header. If it's a string type, it works fine. Is there a way to pass an array?

스크린샷 2022-07-05 09 29 17

@dougwilson
Copy link
Contributor

Yes, this is expected. The special asterisk does not make sense to include in the array, and is only supported as a single value. We'll get the docs updated around this for you 👍

@dougwilson dougwilson added the docs label Jul 5, 2022
@annahxxl
Copy link
Author

annahxxl commented Jul 5, 2022

@dougwilson Thank you :)

@dhananjaysa92
Copy link

looking into this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants