API lib cleanup, 404 hosts WIP

This commit is contained in:
Jamie Curnow
2025-09-21 17:16:46 +10:00
parent 17f40dd8b2
commit 553178aa6b
78 changed files with 1375 additions and 647 deletions

View File

@@ -1,10 +1,7 @@
import * as api from "./base";
export async function deleteProxyHost(id: number, abortController?: AbortController): Promise<boolean> {
return await api.del(
{
url: `/nginx/proxy-hosts/${id}`,
},
abortController,
);
export async function deleteProxyHost(id: number): Promise<boolean> {
return await api.del({
url: `/nginx/proxy-hosts/${id}`,
});
}