#Use Railway variables
20 messages · Page 1 of 1 (latest)
No need to change your code. You can assign RAILWAY_* variables like that.
So the way I did it should work?
Yep.
Hm, when I do railway variables that var shows up as empty though
Generate a domain from "Settings" tab on the service.
Already did that
That's odd. Are you sure you didn't make any typo? It's RAILWAY_STATIC_URL. That is: ${{ RAILWAY_STATIC_URL }}.
Alright. Then someone from the core team will investigate from their end.
Might just be related to CLI because I am actually able to send requests to my app on that URL
Hm, well, it won't work if try to run my code via railway run
railway run is a bogus thing. Mine didn't work either yesterday (<#1025836714046013480 message>).
Is there any update on this? I am also trying to use the railway variables but I have the same problem as this post
same problem here with empty variables
same problem with empty variables!
