From 4780bb4fcdccee23822a87e4c8a62bea0c801381 Mon Sep 17 00:00:00 2001 From: itoktsnhc Date: Wed, 9 Oct 2024 12:21:31 +0800 Subject: [PATCH] fix(server): fix server ping URL path mismatch in healthcheck.ts (#13297) fix server ping URL path mismatch in healthcheck.ts --- server/src/bin/healthcheck.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/bin/healthcheck.ts b/server/src/bin/healthcheck.ts index b38d9d17df1c4..6de58c2002fef 100644 --- a/server/src/bin/healthcheck.ts +++ b/server/src/bin/healthcheck.ts @@ -11,7 +11,7 @@ const main = async () => { const controller = new AbortController(); const timeout = setTimeout(() => controller.abort(), 2000); try { - const response = await fetch(`http://localhost:${port}/api/server-info/ping`, { + const response = await fetch(`http://localhost:${port}/api/server/ping`, { signal: controller.signal, });