mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-18 12:14:29 +00:00
vercel verify services key support
This commit is contained in:
1 parent
8efc2ca86e
commit
da7646b8ae
5 files changed
+63
-8
No files matched your search
@@ -145,6 +145,16 @@ for (var subdomain in domains) {
|
||||
records.push(TXT("_discord." + subdomainName, "\"" + data.services.discord + "\""));
|
||||
}
|
||||
}
|
||||
|
||||
if (data.services.vercel) {
|
||||
if (Array.isArray(data.services.vercel)) {
|
||||
for (var txt in data.services.vercel) {
|
||||
records.push(TXT("_vercel." + subdomainName, "\"" + data.services.vercel[txt] + "\""));
|
||||
}
|
||||
} else {
|
||||
records.push(TXT("_vercel." + subdomainName, "\"" + data.services.vercel + "\""));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user