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 • about 1 year ago
9 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 • 10 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?
9 months ago
You need to deploy the changes.