completionId: cgen-5f1041150376469c83f2a68734dc4897
cgen-5f1041150376469c83f2a68734dc4897
This commit is contained in:
parent
49075604dd
commit
c360803223
1 changed files with 1 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue