R
Railwayβ€’6mo ago
Bartek

Accessing the Public Domain via environment variables

Title
Solution:
The RAILWAY_PUBLIC_DOMAIN variable will hold the public domain of the service
Jump to solution
8 Replies
Percy
Percyβ€’6mo ago
Project ID: N/A
Bartek
BartekOPβ€’6mo ago
N/A
Solution
Fragly
Fraglyβ€’6mo ago
The RAILWAY_PUBLIC_DOMAIN variable will hold the public domain of the service
Bartek
BartekOPβ€’6mo ago
ooh thank you, it doesnt show up in railway variables so i was confused πŸ‘
Bartek
BartekOPβ€’6mo ago
Appears to return an empty string HOST=${{RAILWAY_PUBLIC_DOMAIN}}
No description
Bartek
BartekOPβ€’6mo ago
No description
Bartek
BartekOPβ€’6mo ago
Am i doing something wrong πŸ˜• oh I had to remove the other domain
Fragly
Fraglyβ€’6mo ago
Oh neat, glad we got it working
Want results from more Discord servers?
Add your server