1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

fix(server): fix server ping URL path mismatch in healthcheck.ts (#13297)

fix server ping URL path mismatch in healthcheck.ts
This commit is contained in:
itoktsnhc 2024-10-09 12:21:31 +08:00 committed by GitHub
parent 3ba2602664
commit 4780bb4fcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
});