env variables are not visible
rajabovilyas
TRIALOP
a year ago
I use nodejs for deployment when adding variables in your tab, the code still doesn’t see them
ⓘ Deployment information is only viewable by project members and Railway employees.
6 Replies
rajabovilyas
TRIALOP
a year ago
i get from process.env
dev
How are you accessing them?
rajabovilyas
TRIALOP
a year ago
i get from process.env
temirlanzhangazy
DId you install and import dotenv?
brody
EMPLOYEE
a year ago
dotenv is not recommended for use on Railway as the service variables are only directly injected into the environment.
brody
EMPLOYEE
a year ago
rajabovilyas, you have yet to deploy the changes after adding the variables -
Attachments

