a year ago
I have added my environment variables as shared variables, but it keeps reading the MONGOURI variable i defined as undefined when it has a value. On local machine the value is being read correctly from the dotenv file using the process.env.MONGOURI property.
Please who can be of assistance
ⓘ Deployment information is only viewable by project members and Railway employees.
3 Replies
Status changed to Solved brody • 11 months ago
7 months ago
I have the same prob. my shared vars are shared to all services in my environent but at run time `
process.env.MONGO_URIis undefined. but they are clearly there. any idea?
Attachments
Status changed to Open Railway • 7 months ago
ohabash
I have the same prob. my shared vars are shared to all services in my environent but at run time `process.env.MONGO_URIis undefined. but they are clearly there. any idea?
7 months ago
You need to deploy the changes.