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