0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05: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,
});