fix(domain-proxy): improve endpoint and logic to retrieve domain proxy capabilities
This commit is contained in:
1 parent
e71eaaa6ef
commit
e488207bf8
6 files changed
+122
-37
No files matched your search
@@ -1651,6 +1651,11 @@ export const servers = {
|
||||
`/servers/${id}/docker`,
|
||||
{ timeoutMs: 12000 },
|
||||
),
|
||||
getDomainProxyCapability: (id: string) =>
|
||||
get<{
|
||||
success: boolean;
|
||||
data: { nginx: boolean; caddy: boolean; certbot: boolean };
|
||||
}>(`/servers/${id}/domain-proxy-capability`, { timeoutMs: 10000 }),
|
||||
getConfig: (id: string) =>
|
||||
get<{ success: boolean; data: ServerConfigSnapshot }>(
|
||||
`/servers/${id}/config`,
|
||||
|
||||
Reference in new issue
Block a user