back-shotz
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
6 replies