Fix bot health URL to use 8044 as primary
cgen-5053e8fb76034699830276856e255350
This commit is contained in:
parent
88bf83ef3b
commit
2cb098f2f5
1 changed files with 1 additions and 2 deletions
|
|
@ -1427,9 +1427,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,
|
||||||
|
"https://aethex.railway.internal:8044/health",
|
||||||
"http://localhost:3000/health",
|
"http://localhost:3000/health",
|
||||||
"https://aethex.railway.internal:3000/health",
|
|
||||||
"https://aethex.railway.internal:8044/health", // Fallback to old Railway URL
|
|
||||||
].filter(Boolean) as string[];
|
].filter(Boolean) as string[];
|
||||||
|
|
||||||
let lastError: Error | null = null;
|
let lastError: Error | null = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue