mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-08-07 10:21:52 +00:00
no txt records
This commit is contained in:
+9
-9
@@ -80,15 +80,15 @@ for (var subdomain in domains) {
|
||||
// }
|
||||
|
||||
// Handle TXT records
|
||||
if (domainData.record.TXT) {
|
||||
if (Array.isArray(domainData.record.TXT)) {
|
||||
for (var txt in domainData.record.TXT) {
|
||||
commit.push(TXT(subdomainName, domainData.record.TXT[txt]));
|
||||
}
|
||||
} else {
|
||||
commit.push(TXT(subdomainName, domainData.record.TXT));
|
||||
}
|
||||
}
|
||||
// if (domainData.record.TXT) {
|
||||
// if (Array.isArray(domainData.record.TXT)) {
|
||||
// for (var txt in domainData.record.TXT) {
|
||||
// commit.push(TXT(subdomainName, domainData.record.TXT[txt]));
|
||||
// }
|
||||
// } else {
|
||||
// commit.push(TXT(subdomainName, domainData.record.TXT));
|
||||
// }
|
||||
// }
|
||||
|
||||
// Handle URL records
|
||||
if (domainData.record.URL) {
|
||||
|
||||
Reference in New Issue
Block a user