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

Allow multiple values as cors_origin #5198

Open
Nothing4You opened this issue Nov 12, 2024 · 0 comments
Open

Allow multiple values as cors_origin #5198

Nothing4You opened this issue Nov 12, 2024 · 0 comments

Comments

@Nothing4You
Copy link
Collaborator

Nothing4You commented Nov 12, 2024

I mentioned this in #5185 already, I don't think it makes much sense to only allow a single value for CORS-allowed domains. For example, if you'd want to allow people to use the official photon deployment at https://phtn.app/ and also the official voyager deployment at https://vger.app/ but no other domains you'll need to allow both of them. The current implementation does not allow for that.

Originally posted by @Nothing4You in #5194 (comment)

@Nothing4You Nothing4You changed the title I mentioned this in #5185 already, I don't think it makes much sense to only allow a single value for CORS-allowed domains. For example, if you'd want to allow people to use the official photon deployment at https://phtn.app/ and also the official voyager deployment at https://vger.app/ but no other domains you'll need to allow both of them. The current implementation does not allow for that. Allow multiple values as cors_origin Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant