mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-10-04 20:00:12 +00:00
DNS Provider configuration
This commit is contained in:
9
frontend/src/api/backend/getCertificateDNSProviders.ts
Normal file
9
frontend/src/api/backend/getCertificateDNSProviders.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as api from "./base";
|
||||
import type { DNSProvider } from "./models";
|
||||
|
||||
export async function getCertificateDNSProviders(params = {}): Promise<DNSProvider[]> {
|
||||
return await api.get({
|
||||
url: "/nginx/certificates/dns-providers",
|
||||
params,
|
||||
});
|
||||
}
|
@@ -19,6 +19,7 @@ export * from "./getAccessLists";
|
||||
export * from "./getAuditLog";
|
||||
export * from "./getAuditLogs";
|
||||
export * from "./getCertificate";
|
||||
export * from "./getCertificateDNSProviders";
|
||||
export * from "./getCertificates";
|
||||
export * from "./getDeadHost";
|
||||
export * from "./getDeadHosts";
|
||||
|
@@ -193,3 +193,9 @@ export interface Setting {
|
||||
value: string;
|
||||
meta: Record<string, any>;
|
||||
}
|
||||
|
||||
export interface DNSProvider {
|
||||
id: string;
|
||||
name: string;
|
||||
credentials: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user