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

🔨 Fix semi-wildcard cors #26

Merged
merged 1 commit into from
Jan 16, 2024
Merged

🔨 Fix semi-wildcard cors #26

merged 1 commit into from
Jan 16, 2024

Conversation

DaniFoldi
Copy link
Collaborator

Since the protocol is part of the origin (and we only want to allow https:// origins), we need to splice that off as well, which adds another 8 characters to be sliced, together with the *.

@andras-adam andras-adam merged commit 560cdfa into main Jan 16, 2024
@andras-adam andras-adam deleted the cors-fix branch January 16, 2024 16:45
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