R
Railway2y ago
hyrme

RAILWAY_STATIC_URL is empty

I am trying to assign the variable to another variable in the variables settings for the service. I tried API_ENDPOINT=${{RAILWAY_STATIC_URL}}
4 Replies
Percy
Percy2y ago
Project ID: N/A
Brody
Brody2y ago
you cant do that unfortunately, the RAILWAY_ variables are only available during build and run time
hyrme
hyrmeOP2y ago
ouch!! so I need to rewrite my code to grab it from RAILWAY_ directly instead.. thanks!
Brody
Brody2y ago
you could alias the variables in a .env.production file and then use something like dotenv-expand
Want results from more Discord servers?
Add your server