mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-09-15 03:12:34 +00:00
React
This commit is contained in:
11
frontend/src/api/backend/getHealth.ts
Normal file
11
frontend/src/api/backend/getHealth.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import * as api from "./base";
|
||||
import type { HealthResponse } from "./responseTypes";
|
||||
|
||||
export async function getHealth(abortController?: AbortController): Promise<HealthResponse> {
|
||||
return await api.get(
|
||||
{
|
||||
url: "/",
|
||||
},
|
||||
abortController,
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user