fix: removes www restriction

This commit is contained in:
Akshay Nair
2024-01-07 20:57:47 +05:30
parent c87c11aa09
commit f428b9fe18
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ const toHostList = R.chain(data => {
// URL redirection must contain explicit A record
// Wildcard A record breaks when used with MX
// Ref: https://github.com/is-a-dev/register/issues/2365
if (data.record.URL && data.record.MX || data.name === '@') {
if ((data.record.URL && data.record.MX) || data.name === '@') {
data.record.A = [ DOMAIN_HOST_IP ]
}