Accessing the Public Domain via environment variables

2 years ago

Title

Closed

10 Replies

2 years ago

N/A


2 years ago

The RAILWAY_PUBLIC_DOMAIN variable will hold the public domain of the service


2 years ago

ooh thank you, it doesnt show up in railway variables so i was confused


2 years ago

👍


2 years ago

Appears to return an empty string HOST=${{RAILWAY_PUBLIC_DOMAIN}}

1252912587809493052



2 years ago

Am i doing something wrong 😕


2 years ago

oh


2 years ago

I had to remove the other domain


2 years ago

Oh neat, glad we got it working


Welcome!

Sign in to your Railway account to join the conversation.

Loading...