No 'Access-Control-Allow-Origin' header is present on the requested resource.

Hey guys I'm trying to deploy a full stack app and its been working fine in development and on the docker desktop app, however when I deploy the backend on railway I just cant seem to make any successful calls and am met with a "Access to XMLHttpRequest at '...' from origin '...' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource." error. Any help would be appreciated. 779b27f8-f6c0-4eb5-a592-72a7e70fa2f4
4 Replies
Percy
Percy12mo ago
Project ID: 779b27f8-f6c0-4eb5-a592-72a7e70fa2f4
Brody
Brody12mo ago
what status code do you get on that request?
back-shotz
back-shotzOP12mo ago
503
Want results from more Discord servers?
Add your server