glitchdetectedTRIAL
5 months ago
how do i enable cors in railway app and use it to communicate with my vercel app
0 Replies
5 months ago
Thats something you need to do in your code, what web server framework are you using?
express.js for my backend, next.js for my frontend, and discord.js for my bot
5 months ago
please see the express docs -
the cors only work during localhost but not when its deployed publicly
5 months ago
you would need to configure the cors middleware correctly
5 months ago
sorry but please see the docs i linked above, we aren't able to provide coding support here
5 months ago
that has nothing to do with the railway cli, or railway in general
5 months ago
!s
Status changed to Solved brody • 5 months ago