glitchdetected
TRIALOP
a year ago
how do i enable cors in railway app and use it to communicate with my vercel app
16 Replies
brody
EMPLOYEE
a year 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
brody
EMPLOYEE
a year ago
please see the express docs -
the cors only work during localhost but not when its deployed publicly
brody
EMPLOYEE
a year ago
you would need to configure the cors middleware correctly
brody
EMPLOYEE
a year ago
sorry but please see the docs i linked above, we aren't able to provide coding support here
brody
EMPLOYEE
a year ago
that has nothing to do with the railway cli, or railway in general
brody
EMPLOYEE
a year ago
!s
Status changed to Solved brody • about 1 year ago
