Revert Discord bot health check to use port 8044 (Railway bot default)

cgen-7ad3ffdb6c38403992ceab0698f177c5
This commit is contained in:
Builder.io 2025-11-10 03:21:54 +00:00
parent 01c9e0212c
commit 2ffc5b2f68

View file

@ -1698,8 +1698,8 @@ export function createServer() {
// Try multiple bot health URLs in order of preference
const botHealthUrls = [
process.env.DISCORD_BOT_HEALTH_URL,
"http://aethex.railway.internal:3000/health", // Railway internal network (bot health port)
"http://localhost:3000/health", // Local fallback
"http://aethex.railway.internal:8044/health", // Railway internal network
"http://localhost:8044/health", // Local fallback
].filter(Boolean) as string[];
let lastError: Error | null = null;