Revert Discord bot health check to use port 8044 (Railway bot default)
cgen-7ad3ffdb6c38403992ceab0698f177c5
This commit is contained in:
parent
01c9e0212c
commit
2ffc5b2f68
1 changed files with 2 additions and 2 deletions
|
|
@ -1698,8 +1698,8 @@ 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:3000/health", // Railway internal network (bot health port)
|
"http://aethex.railway.internal:8044/health", // Railway internal network
|
||||||
"http://localhost:3000/health", // Local fallback
|
"http://localhost:8044/health", // Local fallback
|
||||||
].filter(Boolean) as string[];
|
].filter(Boolean) as string[];
|
||||||
|
|
||||||
let lastError: Error | null = null;
|
let lastError: Error | null = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue