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

Enable multiple URLs with CORS #45

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Enable multiple URLs with CORS #45

merged 1 commit into from
Sep 25, 2024

Conversation

faisal-fawad
Copy link
Collaborator

Does a substring search on the origin passed as a header. The list of strings it searches against can be found in index.py as the array allowed_origins, which can be meta-programmed via build_lambda_code.py if more URLs are needed in the future.

Copy link
Collaborator

@zachale zachale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@zachale zachale merged commit dd771c6 into main Sep 25, 2024
3 checks passed
@zachale zachale deleted the enable-multiple-cors branch September 25, 2024 21:49
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

Successfully merging this pull request may close these issues.

2 participants