Skip to content

Commit

Permalink
Update dnsconfig.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev committed Oct 19, 2024
1 parent 6cccca3 commit 5050870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 5050870

Please sign in to comment.