mirror of
https://github.com/certd/certd.git
synced 2026-06-25 20:37:33 +08:00
fix: cnameProvider域名支持设置子域名托管
This commit is contained in:
@@ -324,8 +324,8 @@ export class AcmeService {
|
||||
const cname: CnameVerifyPlan = domainVerifyPlan.cnameVerifyPlan;
|
||||
if (cname) {
|
||||
dnsProvider = cname.dnsProvider;
|
||||
domain = await this.options.domainParser.parse(cname.domain);
|
||||
fullRecord = cname.fullRecord;
|
||||
domain = await this.options.domainParser.parse(fullRecord);
|
||||
} else {
|
||||
this.logger.error(`未找到域名${fullDomain}的CNAME校验计划,请修改证书申请配置`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user