R
Railway2y ago
RUNNb

Can't access api url (nestjs project)

So on my local env if I access localhost:port/api I can see api swagger documentation. Also I can do any request. When deployed on railway I get no errors, I see app running logs but can't access api documentation page or do any request. Any ideas on what is possibly going on?
12 Replies
Percy
Percy2y ago
Project ID: 7c69688b-ac40-4119-aa59-af1c425ac66d
RUNNb
RUNNbOP2y ago
7c69688b-ac40-4119-aa59-af1c425ac66d
Solution
RUNNb
RUNNbOP2y ago
RUNNb
RUNNbOP2y ago
thanks
Brody
Brody2y ago
got it working?
RUNNb
RUNNbOP2y ago
I am testing rn Working, thanks
Brody
Brody2y ago
awesome!
RUNNb
RUNNbOP2y ago
Also 1 question about vars. I have a nextjs project and I am overwriting the vars on settings and I still got the vars on .env inside the project
Brody
Brody2y ago
oh course, thats how it works, you shouldn't be committing your .env file to github
RUNNb
RUNNbOP2y ago
hmm ok maybe rename for .env.local because is local env
Brody
Brody2y ago
that works too
Want results from more Discord servers?
Add your server