mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-10-14 02:16:08 +00:00
Fix dnscontrol issue.
This commit is contained in:
1 parent
2ba18bf284
commit
66a2f76458
1 file changed
+1
-1
+1
-1
@@ -52,7 +52,7 @@ for (var subdomain in allDomains) {
|
||||
if (Array.isArray(domainData.target.TXT.value)) {
|
||||
for (var txt in domainData.target.TXT) {
|
||||
var txtRecord = domainData.target.TXT[txt];
|
||||
commit.push(TXT(txtRecord.name === "@" ? subdomainName : txtRecord.name + "." + subdomainName, txtRecord.value));
|
||||
commit.push(TXT(txtRecord.name, txtRecord.value));
|
||||
}
|
||||
} else {
|
||||
commit.push(TXT(domainData.target.TXT.name === "@" ? subdomainName : domainData.target.TXT.name + "." + subdomainName, domainData.target.TXT.value));
|
||||
|
||||
Reference in new issue
Block a user