Skip to content

Add CORS support #8

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

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Add CORS support #8

merged 1 commit into from
Nov 6, 2023

Conversation

tunetheweb
Copy link
Member

@tunetheweb tunetheweb commented Oct 19, 2023

I'm sure there's a better way to do this, but here's what I did to unblock Sarah.

@rviscomi not sure if we want to restrict these calls to certain domains? CORS is more a browser protection than a real security protection if we're concerned about rate limit these and the data is read-only from the API calls to happy to have them open from a CORS perspective.

@maceto, feel free to re-code this in a better way!

@tunetheweb tunetheweb requested a review from maceto October 19, 2023 12:59
@rviscomi
Copy link
Member

+1 to leaving the APIs open for now. If needed we could set up domain-restricted API keys.

@tunetheweb tunetheweb changed the title Add CORs support Add CORS support Oct 19, 2023
Copy link
Collaborator

@maceto maceto left a comment

Choose a reason for hiding this comment

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

+1

@maceto maceto marked this pull request as ready for review November 6, 2023 03:12
@maceto maceto merged commit 03cb91f into main Nov 6, 2023
@maceto maceto deleted the add-cors-headers branch November 6, 2023 03:12
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.

3 participants