mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-09-09 08:19:01 +00:00
Move commit to bottom.
This commit is contained in:
+5
-5
@@ -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, txtRecord.value));
|
||||
commit.push(TXT(domainData.target.TXT.name === "@" ? subdomainName : txtRecord.name + "." + subdomainName, txtRecord.value));
|
||||
}
|
||||
} else {
|
||||
commit.push(TXT(domainData.target.TXT.name === "@" ? subdomainName : domainData.target.TXT.name + "." + subdomainName, domainData.target.TXT.value));
|
||||
@@ -60,9 +60,6 @@ for (var subdomain in allDomains) {
|
||||
}
|
||||
}
|
||||
|
||||
// Commit all DNS records
|
||||
D("is-a-good.dev", NewRegistrar("none"), DnsProvider(NewDnsProvider("cloudflare")), commit);
|
||||
|
||||
// *._domainkey.is-a-good.dev
|
||||
commit.push(IGNORE("*._domainkey", "TXT"));
|
||||
// _acme-challenge.is-a-good.dev
|
||||
@@ -78,4 +75,7 @@ commit.push(IGNORE("autoconfig", "CNAME"));
|
||||
// autodiscover.is-a-good.dev
|
||||
commit.push(IGNORE("autodiscover", "CNAME"));
|
||||
// *.mx.is-a-good.dev
|
||||
commit.push(IGNORE("*", "MX", "*"));
|
||||
commit.push(IGNORE("*", "MX", "*"));
|
||||
|
||||
// Commit all DNS records
|
||||
D("is-a-good.dev", NewRegistrar("none"), DnsProvider(NewDnsProvider("cloudflare")), commit);
|
||||
Reference in New Issue
Block a user