mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-22 14:13:21 +01:00
12 lines
272 B
TypeScript
12 lines
272 B
TypeScript
import * as api from "./base";
|
|
import type { ProxyHost } from "./models";
|
|
|
|
export async function getProxyHost(id: number, abortController?: AbortController): Promise<ProxyHost> {
|
|
return await api.get(
|
|
{
|
|
url: `/nginx/proxy-hosts/${id}`,
|
|
},
|
|
abortController,
|
|
);
|
|
}
|