#unable to resolve CORS
34 messages · Page 1 of 1 (latest)
send the domain please
doesnt look like you are setting the correct cors headers, at least not on the root path
I have enabled all cors headers with app.use(cors())
where are you seeing this issue, your frontend https://worldengine.in seems to be able to call the backend https://worldengine-production.up.railway.app without issue
what am i supposed to do with that?
Okay, thought it might help
if you are getting a cors error in the browser, you need to tell me me how to reproduce it in my browser
i got a 503 status code, this is your actual issue
first guess would be your app is crashing
is there anything in the deployment logs
okay looks like you have a code issue
Okay deploying a quick fix
Can you pls try the visualise button again, Im now getting a 500
yeah I get a 500 too, but I don't know how much better that is lol
Lol
well get debugging 🤣
Been trying to for the last 2 days 😦
what version of node are you using locally and what version are you using on railway
18.13.0 locally, how do I check on railway
it would be in the nixpacks build table in the build logs
nodejs-16_x
alright then set engines.node to 18 in your package.json