Getting cors errors for a next js frontend
I'm getting CORS errors for my medusa nextjs frontend that I can't reproduce locally, and not even when
logging in to the railway service with tailscale ssh and manually starting the nodejs service, with a regular "yarn dev" (while sshed to the tailgate service).
The codebase
I'm deploying a medusa (nodejs) backend to railway [https://docs.medusajs.com/deployments/server/deploying-on-railway]
The storefront (frontend) - were I get the errors
https://byq-storefront-medusa.vercel.app/categories/brijanje-i-depilacija-skare-za-kosu-brijaci-i-aparati-za-brijanje-tijela
Two images with the cors errors
https://docs.google.com/document/d/1xZhlJFHHtP7AgCs_PlNXneqkJOMNBDIuv9eU9AyOtKc
Project-id: e99db810-c510-413c-82fc-f6033e7292f5
Google Docs
Railway production problem
2 Replies
Project ID:
e99db810-c510-413c-82fc-f6033e7292f5
project ID: e99db810-c510-413c-82fc-f6033e7292f5
solved, feel free to close