Add NODE_ENV variable
Anonymous

3 years ago

Adding the NODE_ENV variable (setting to "production" when the project is in production) would be very useful for projects needing to detect that, especially if those projects use "railway run" to access environment variables locally

3 Replies

Are you saying this should be provided by default. I am a little weary introducing this as default behavior as it can come off as too magical.


Anonymous

3 years ago

Are you saying this should be provided by default. I am a little weary introducing this as default behavior as it can come off as too magical.

Angelo Saraceno: I'm saying it should be implemented in a form similar to Heroku


Anonymous

3 years ago

Better if you could just set it equal to the current environment of the project.


Loading...