mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-13 22:05:15 +00:00
React
This commit is contained in:
11
frontend/src/api/backend/getDeadHost.ts
Normal file
11
frontend/src/api/backend/getDeadHost.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import * as api from "./base";
|
||||
import type { DeadHost } from "./models";
|
||||
|
||||
export async function getDeadHost(id: number, abortController?: AbortController): Promise<DeadHost> {
|
||||
return await api.get(
|
||||
{
|
||||
url: `/nginx/dead-hosts/${id}`,
|
||||
},
|
||||
abortController,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user