Update bot health endpoint to Railway internal URL

cgen-4aaf873d99324b608959de1052a4ba31
This commit is contained in:
Builder.io 2025-11-09 03:28:34 +00:00
parent c360803223
commit 988cd66d2e

View file

@ -1044,7 +1044,7 @@ export function createServer() {
// Discord Bot Health Check (proxy to avoid CSP issues)
app.get("/api/discord/bot-health", async (req, res) => {
try {
const botHealthUrl = "http://144.217.139.239:8044/health";
const botHealthUrl = "https://aethex.railway.internal:8044/health";
const response = await fetch(botHealthUrl, {
method: "GET",