update reserved domains

This commit is contained in:
William Harrison committed 2024-12-19 10:19:36 +08:00
1 parent 006577ce49
commit d12e022fca
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ function expandReservedDomains() {
expandedList.splice(expandedList.indexOf(item), 1); expandedList.splice(expandedList.indexOf(item), 1);
} else { } else {
throw new Error(`[reserved-domains.json] Invalid range [${start}-${end}] in "${item}"`); throw new Error(`[util/reserved-domains.json] Invalid range [${start}-${end}] in "${item}"`);
} }
} }
} }
+5 -1
View File
@@ -1,6 +1,8 @@
[ [
"api", "api",
"dns", "dns",
"doc",
"documentation",
"email", "email",
"example", "example",
"m", "m",
@@ -16,8 +18,10 @@
"ns[1-9]", "ns[1-9]",
"redirect", "redirect",
"registry", "registry",
"security",
"url", "url",
"whois", "whois",
"www[1-9]", "www[1-9]",
"wwww" "wwww",
"your-domain-name"
] ]