Skip to content

Monorepo Tutorial: CORS Error #702

@echohack

Description

@echohack

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions