update reserved domains

This commit is contained in:
William Harrison
2024-12-19 10:19:36 +08:00
parent 006577ce49
commit d12e022fca
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ function expandReservedDomains() {
expandedList.splice(expandedList.indexOf(item), 1);
} 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",
"dns",
"doc",
"documentation",
"email",
"example",
"m",
@@ -16,8 +18,10 @@
"ns[1-9]",
"redirect",
"registry",
"security",
"url",
"whois",
"www[1-9]",
"wwww"
"wwww",
"your-domain-name"
]