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
Project ID:
N/A
you cant do that unfortunately, the
RAILWAY_
variables are only available during build and run timeouch!! so I need to rewrite my code to grab it from RAILWAY_ directly instead.. thanks!
you could alias the variables in a .env.production file and then use something like dotenv-expand