mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-06 04:14:51 +00:00
Update dnsconfig.js
This commit is contained in:
1 parent
229d821881
commit
2a33754927
1 file changed
+8
-8
+8
-8
@@ -135,15 +135,15 @@ for (var subdomain in domains) {
|
||||
}
|
||||
|
||||
// Manage service records
|
||||
|
||||
// Discord TXT verification
|
||||
if (data.services.discord) {
|
||||
if (Array.isArray(data.services.discord)) {
|
||||
for (var txt in data.services.discord) {
|
||||
records.push(TXT("_discord." + subdomainName, data.services.discord[txt]));
|
||||
if (data.services) {
|
||||
if (data.services.discord) {
|
||||
if (Array.isArray(data.services.discord)) {
|
||||
for (var txt in data.services.discord) {
|
||||
records.push(TXT("_discord." + subdomainName, data.services.discord[txt]));
|
||||
}
|
||||
} else {
|
||||
records.push(TXT("_discord." + subdomainName, data.services.discord));
|
||||
}
|
||||
} else {
|
||||
records.push(TXT("_discord." + subdomainName, data.services.discord));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user