fix: 修复配置了cdn cname后申请失败的bug

This commit is contained in:
xiaojunnuo
2024-07-02 00:18:28 +08:00
parent 1b7debc6a4
commit 4a5fa767ed
4 changed files with 66 additions and 40 deletions

View File

@@ -178,6 +178,7 @@ export class AcmeService {
csr,
email: email,
termsOfServiceAgreed: true,
skipChallengeVerification: true,
challengePriority: ["dns-01"],
challengeCreateFn: async (authz: acme.Authorization, challenge: Challenge, keyAuthorization: string): Promise<any> => {
return await this.challengeCreateFn(authz, challenge, keyAuthorization, dnsProvider);