mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-15 22:15:09 +00:00
matchingType -> matching_type
This commit is contained in:
1 parent
e139d62f5f
commit
fb1752b48a
2 files changed
+17
-17
No files matched your search
+15
-15
@@ -111,7 +111,7 @@ for (var subdomain in domains) {
|
||||
subdomainName,
|
||||
tlsaRecord.usage,
|
||||
tlsaRecord.selector,
|
||||
tlsaRecord.matchingType,
|
||||
tlsaRecord.matching_type,
|
||||
tlsaRecord.certificate
|
||||
)
|
||||
);
|
||||
@@ -136,6 +136,10 @@ for (var subdomain in domains) {
|
||||
|
||||
// Manage service records
|
||||
if (data.services) {
|
||||
if (data.services.bluesky) {
|
||||
records.push(TXT("_atproto." + subdomainName, "\"" + data.services.bluesky + "\""));
|
||||
}
|
||||
|
||||
if (data.services.discord) {
|
||||
if (Array.isArray(data.services.discord)) {
|
||||
for (var txt in data.services.discord) {
|
||||
@@ -146,20 +150,6 @@ for (var subdomain in domains) {
|
||||
}
|
||||
}
|
||||
|
||||
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 + "\""));
|
||||
}
|
||||
}
|
||||
|
||||
if (data.services.bluesky) {
|
||||
records.push(TXT("_atproto." + subdomainName, "\"" + data.services.bluesky + "\""));
|
||||
}
|
||||
|
||||
if (data.services.gitlab) {
|
||||
if (Array.isArray(data.services.gitlab)) {
|
||||
for (var txt in data.services.gitlab) {
|
||||
@@ -169,6 +159,16 @@ for (var subdomain in domains) {
|
||||
records.push(TXT("_gitlab-pages-verification-code." + subdomainName, "\"" + data.services.gitlab + "\""));
|
||||
}
|
||||
}
|
||||
|
||||
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