Fix Discord bot health check to use correct port 3000 on Railway
cgen-3610ccdfcabc4d458aa81c8ecc22e547
This commit is contained in:
parent
1db004b259
commit
a6d0ae6e41
1 changed files with 1 additions and 1 deletions
|
|
@ -1698,7 +1698,7 @@ export function createServer() {
|
||||||
// Try multiple bot health URLs in order of preference
|
// Try multiple bot health URLs in order of preference
|
||||||
const botHealthUrls = [
|
const botHealthUrls = [
|
||||||
process.env.DISCORD_BOT_HEALTH_URL,
|
process.env.DISCORD_BOT_HEALTH_URL,
|
||||||
"http://aethex.railway.internal:8044/health", // Railway internal network
|
"http://aethex.railway.internal:3000/health", // Railway internal network (bot health port)
|
||||||
"http://localhost:3000/health", // Local fallback
|
"http://localhost:3000/health", // Local fallback
|
||||||
].filter(Boolean) as string[];
|
].filter(Boolean) as string[];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue