completionId: cgen-5f1041150376469c83f2a68734dc4897

cgen-5f1041150376469c83f2a68734dc4897
This commit is contained in:
Builder.io 2025-11-09 01:36:22 +00:00
parent 49075604dd
commit c360803223

View file

@ -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<BotHealthStatus> {
try {
const response = await fetch(BOT_HEALTH_URL, {
const response = await fetch("/api/discord/bot-health", {
method: "GET",
headers: {
"Content-Type": "application/json",