a year ago
Hi,
My project, the React + typescript (frontend) and Node.js ( Backend). I received messages erros CORS not Allowed, but last week its worked normally.
My ID project: cba4be01-f16e-4b88-998d-148df8aadc4c
Pinned Solution
a year ago
I Resolved , apparently in railway config , I need configure railpack for project use Bun for build. Before configured this, my project work. Thanks for help 🙂
Attachments
6 Replies
a year ago
Did you configure cors correctly? I found this article which might be a bit of help:
noahd
Did you configure cors correctly? I found this article which might be a bit of help: <https://medium.com/@dhanushsaireddy8/resolving-cors-issues-in-express-and-react-js-a-comprehensive-guide-31ca5d58f90b>
a year ago
Thanks for the answer. But that didn't solve it. Even if I leave CORS as *, it only gives an error when I go to railway, locally it works
a year ago
Did you configure it for your Railway domain or localhost?
own171
Did you configure it for your Railway domain or localhost?
a year ago
I have configured both the local host and the front-end domains that are in vercel
a year ago
I Resolved , apparently in railway config , I need configure railpack for project use Bun for build. Before configured this, my project work. Thanks for help 🙂
Attachments
Status changed to Solved brody • 11 months ago