Im using a domain example.com for the client and myserver.railway.app for the backend. However, im getting a CORS error on this setup, Is there a way around it?
Access to XMLHttpRequest at 'myserver.railwayapp.com/operations/tasks' from origin 'example.com' 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.
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.