mirror of
https://github.com/immich-app/immich.git
synced 2025-06-02 21:24:28 -04: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:
parent
3ba2602664
commit
4780bb4fcd
@ -11,7 +11,7 @@ const main = async () => {
|
|||||||
const controller = new AbortController();
|
const controller = new AbortController();
|
||||||
const timeout = setTimeout(() => controller.abort(), 2000);
|
const timeout = setTimeout(() => controller.abort(), 2000);
|
||||||
try {
|
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,
|
signal: controller.signal,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user