Referenced variable resolves to empty string
afinvoice
HOBBYOP

a year ago

Hi,

I'm trying to make a variable called "BACKENDURL" and have the value of it being the referenced internal value of RAILWAYPUBLICDOMAIN. However, when attempting to read the variable in process.env.BACKENDEND (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 "${{RAILWAYPUBLICDOMAIN}}".

I have an other variable called DATABASEURL and the value of it is: "${{Postgres.DATABASEURL}}". When I inspect this in the GUI it has an expected value.

Why is RAILWAYPUBLICDOMAIN empty? I can see that the reference have a value(second image).

2 Replies

afinvoice
HOBBYOP

a year ago

cc710753-c30b-4244-8b60-2e224229547a


a year ago

you haven't applied the changes yet


Loading...