mirror of https://github.com/certd/certd
commit
c7cfd7a8a0
|
@ -103,7 +103,7 @@ export class DnspodDnsProvider implements IDnsProvider {
|
||||||
const list = await this.getDomainList();
|
const list = await this.getDomainList();
|
||||||
let domain = null;
|
let domain = null;
|
||||||
for (const item of list) {
|
for (const item of list) {
|
||||||
if (_.endsWith(dnsRecord, item.name)) {
|
if (_.endsWith(dnsRecord, "." + item.name)) {
|
||||||
domain = item;
|
domain = item;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue