mirror of
https://github.com/certd/certd.git
synced 2026-05-18 06:17:31 +08:00
chore: 1
This commit is contained in:
+1
-1
@@ -198,7 +198,7 @@ export const agents: any;
|
|||||||
* Logger
|
* Logger
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function setLogger(fn: (...msg: any) => void): void;
|
export function setLogger(fn: (message: any, ...args: any[]) => void): void;
|
||||||
|
|
||||||
export function walkTxtRecord(record: any): Promise<string[]>;
|
export function walkTxtRecord(record: any): Promise<string[]>;
|
||||||
|
|
||||||
|
|||||||
@@ -60,8 +60,8 @@ export class AcmeService {
|
|||||||
this.sslProvider = options.sslProvider || "letsencrypt";
|
this.sslProvider = options.sslProvider || "letsencrypt";
|
||||||
this.eab = options.eab;
|
this.eab = options.eab;
|
||||||
this.skipLocalVerify = options.skipLocalVerify ?? false;
|
this.skipLocalVerify = options.skipLocalVerify ?? false;
|
||||||
acme.setLogger((...text: any) => {
|
acme.setLogger((message: any, ...args: any[]) => {
|
||||||
this.logger.info(...text);
|
this.logger.info(message, ...args);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user