a year ago
I have added my environment variables as shared variables, but it keeps reading the MONGO_URI 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.MONGO_URI 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 • over 1 year ago
a year 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 • about 1 year ago
ohabash
I have the same prob. my shared vars are shared to all services in my environent but at run time \` ```typescript process.env.MONGO_URI ``` is undefined. but they are clearly there. any idea?
a year ago
You need to deploy the changes.