mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-09-14 19:02:35 +00:00
12 lines
251 B
TypeScript
12 lines
251 B
TypeScript
import * as api from "./base";
|
|
import type { HealthResponse } from "./responseTypes";
|
|
|
|
export async function getHealth(abortController?: AbortController): Promise<HealthResponse> {
|
|
return await api.get(
|
|
{
|
|
url: "/",
|
|
},
|
|
abortController,
|
|
);
|
|
}
|