Referenced variable resolves to empty string
afinvoice
HOBBYOP

2 years ago

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 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).

Closed

2 Replies

afinvoice
HOBBYOP

2 years ago

cc710753-c30b-4244-8b60-2e224229547a


2 years ago

you haven't applied the changes yet


Welcome!

Sign in to your Railway account to join the conversation.

Loading...