mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-12-22 11:59:45 +00:00
10 lines
236 B
TypeScript
10 lines
236 B
TypeScript
import * as api from "./base";
|
|
import type { Certificate } from "./models";
|
|
|
|
export async function createCertificate(item: Certificate): Promise<Certificate> {
|
|
return await api.post({
|
|
url: "/nginx/certificates",
|
|
data: item,
|
|
});
|
|
}
|