Fix Discord bot health check to use correct port 3000 on Railway

cgen-3610ccdfcabc4d458aa81c8ecc22e547
This commit is contained in:
Builder.io 2025-11-10 03:17:42 +00:00
parent 1db004b259
commit a6d0ae6e41

View file

@ -1698,7 +1698,7 @@ export function createServer() {
// Try multiple bot health URLs in order of preference
const botHealthUrls = [
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
].filter(Boolean) as string[];