API lib cleanup, 404 hosts WIP

This commit is contained in:
Jamie Curnow
2025-09-21 17:16:46 +10:00
parent 058f49ceea
commit 54e036276a
76 changed files with 921 additions and 544 deletions

View File

@@ -1,16 +1,10 @@
import * as api from "./base";
export async function testHttpCertificate(
domains: string[],
abortController?: AbortController,
): Promise<Record<string, string>> {
return await api.get(
{
url: "/nginx/certificates/test-http",
params: {
domains: domains.join(","),
},
export async function testHttpCertificate(domains: string[]): Promise<Record<string, string>> {
return await api.get({
url: "/nginx/certificates/test-http",
params: {
domains: domains.join(","),
},
abortController,
);
});
}