Fix bot health URL to use 8044 as primary

cgen-5053e8fb76034699830276856e255350
This commit is contained in:
Builder.io 2025-11-09 21:57:25 +00:00
parent 88bf83ef3b
commit 2cb098f2f5

View file

@ -1427,9 +1427,8 @@ export function createServer() {
// Try multiple bot health URLs in order of preference
const botHealthUrls = [
process.env.DISCORD_BOT_HEALTH_URL,
"https://aethex.railway.internal:8044/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[];
let lastError: Error | null = null;