Referenced variable resolves to empty string
Hi,
I'm trying to make a variable called "BACKEND_URL" and have the value of it being the referenced internal value of RAILWAY_PUBLIC_DOMAIN. However, when attempting to read the variable in process.env.BACKEND_END (Node.js), it resolves to an empty string and I suspect it's because it says <empty string> when I inspect it in the Railway GUI. The value of this is "${{RAILWAY_PUBLIC_DOMAIN}}".
I have an other variable called DATABASE_URL and the value of it is: "${{Postgres.DATABASE_URL}}". When I inspect this in the GUI it has an expected value.
Why is RAILWAY_PUBLIC_DOMAIN empty? I can see that the reference have a value(second image).
3 Replies