From c36080322326efee6548a1b1960c2b1d76e722c1 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 9 Nov 2025 01:36:22 +0000 Subject: [PATCH] completionId: cgen-5f1041150376469c83f2a68734dc4897 cgen-5f1041150376469c83f2a68734dc4897 --- client/lib/discord-bot-status.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/lib/discord-bot-status.ts b/client/lib/discord-bot-status.ts index ab92a280..57bd3b87 100644 --- a/client/lib/discord-bot-status.ts +++ b/client/lib/discord-bot-status.ts @@ -7,11 +7,9 @@ export interface BotHealthStatus { error?: string; } -const BOT_HEALTH_URL = "http://144.217.139.239:8044/health"; - export async function checkBotHealth(): Promise { try { - const response = await fetch(BOT_HEALTH_URL, { + const response = await fetch("/api/discord/bot-health", { method: "GET", headers: { "Content-Type": "application/json",