CORS Issues
crinklepackage
HOBBYOP

2 years ago

We're seeing CORS issues where preflight (OPTIONS) requests are failing before reaching our application. The browser shows 'No Access-Control-Allow-Origin header is present' even though we have CORS properly configured in our Express app. Are there any Railway-specific proxy settings or configurations needed to allow CORS and OPTIONS requests to reach our application?

What other information would be helpful to have in order to troubleshoot?

Thank you

Solved

3 Replies

2 years ago

Hello,

Neither of the services have public domains, can you explain how you can get CORS issues without a public domain?


Status changed to Awaiting User Response Railway • over 1 year ago


crinklepackage
HOBBYOP

2 years ago

Thanks, this led me to the solution.


Status changed to Awaiting Railway Response Railway • over 1 year ago


2 years ago

Glad I could help lol


Status changed to Awaiting User Response Railway • over 1 year ago


Status changed to Solved brody • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...