R
Railway12mo ago
Yannick

The value of my read variable is different from that edited.

ProjectID: 32e7c04c-c58a-41a6-9e8c-320a473294f7 Reading and copying (clipboard) of my variable RAILWAY_ENVIRONMENT are production, editing the variable is DEVELOPMENT: The Railway documentation does not present the variable as provided by the railways: RAILWAY_ENVIRONMENT. And all services in the same project have the same bug. Can you tell me if my post will allow the problem to be reported to your dev team? What is the procedure to follow so that we can resolve it?
No description
Solution:
It can't take any value other than the one railway provides it, it's reserved
Jump to solution
4 Replies
Percy
Percy12mo ago
Project ID: 32e7c04c-c58a-41a6-9e8c-320a473294f7
Brody
Brody12mo ago
that variable is reserved for railway and will always reflect the railway environment you have deployed in, perhaps you want something like NODE_ENV? or simply add an environment to your project called development https://docs.railway.app/guides/environments tl;dr not a bug or issue per se, just a slight incorrect use of the variable
Yannick
YannickOP12mo ago
RAILWAY_ENVIRONMENT can take what value? I can't find it in the documentation: https://docs.railway.app/reference/variables#railway-provided-variables
Railway Docs
Variables | Railway Docs
Documentation for Railway
Solution
Fragly
Fragly12mo ago
It can't take any value other than the one railway provides it, it's reserved
Want results from more Discord servers?
Add your server