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 CORS #25

Open
mgroves opened this issue Jun 28, 2023 · 0 comments
Open

Enable CORS #25

mgroves opened this issue Jun 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mgroves
Copy link
Owner

mgroves commented Jun 28, 2023

If the backend is about to run on a different host/port than the frontend, make sure to handle OPTIONS too and return correct Access-Control-Allow-Origin and Access-Control-Allow-Headers (e.g. Content-Type).

https://realworld-docs.netlify.app/docs/specs/backend-specs/cors

@mgroves mgroves added the enhancement New feature or request label Jun 28, 2023
mgroves added a commit that referenced this issue Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant