Skip to content

Monorepo Tutorial: CORS Error #702

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

Open
echohack opened this issue Mar 12, 2025 · 0 comments
Open

Monorepo Tutorial: CORS Error #702

echohack opened this issue Mar 12, 2025 · 0 comments
Assignees

Comments

@echohack
Copy link
Contributor

echohack commented Mar 12, 2025

I think there could be a bug with CORS with the go server in the monorepo tutorial, since I got

Access to resource at 'https://backend-production-94d4.up.railway.app/sse' from origin 'https://frontend-production-7e91.up.railway.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

when trying to access the service, and the go server correctly processed the request.

Overall it's not a huge deal since the point of the tutorial is just to teach how to wire up services in a monorepo, but it's kind of annoying that the service doesn't work properly once you reach the end.

@brody192 brody192 self-assigned this Mar 12, 2025
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

No branches or pull requests

2 participants