mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-10-15 06:16:14 +00:00
Update dnsconfig.js
This commit is contained in:
1 parent
6cccca3159
commit
5050870803
1 file changed
+1
-1
+1
-1
@@ -37,7 +37,7 @@ for (var subdomain in domains) {
|
||||
if (domainData.target.CNAME) {
|
||||
// Allow CNAME target on root
|
||||
if (subdomainName === "@") {
|
||||
commit.push(ALIAS(subdomainName, domainData.target.CNAME + ".", proxyState));
|
||||
commit.push(ALIAS(domainData.target.CNAME.name, domainData.target.CNAME.value + ".", proxyState));
|
||||
} else {
|
||||
commit.push(CNAME(domainData.target.CNAME.name, domainData.target.CNAME.value + ".", proxyState));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user