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

Add CORS middleware #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add CORS middleware #22

wants to merge 1 commit into from

Conversation

cswaney
Copy link
Member

@cswaney cswaney commented Oct 15, 2024

This is necessary because the API will generally be called from a different domain. Most browsers will reject this request without CORS enabled. Allowing any origin by default, although this should eventually be set dynamically (i.e., as launcher argument).

Allow any origin. This should eventually be set dynamically (i.e., as launcher argument). This is necessay because the API will generally be called from a different domain. Most browsers will reject this request without CORS enabled.
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