update invalid domains

This commit is contained in:
William Harrison
2022-11-04 16:49:39 +08:00
committed by GitHub
parent d82bceb8b6
commit ca8d3f6db8
+17 -2
View File
@@ -5,7 +5,22 @@ function getFileExtension(filename) {
}
const invalidDomains = [
"support"
"_acme-challenge",
"_github-challenge-is-a-good-dev",
"_github-pages-challenge-is-a-good-dev",
"help",
"no-reply",
"noreply",
"notification",
"notifications",
"support",
"ww",
"ww1",
"ww2",
"ww3",
"ww4",
"wwww",
"your-domain-name"
]
function getJSON(file, filename) {
@@ -35,4 +50,4 @@ function getJSON(file, filename) {
return false;
}
module.exports = getJSON;
module.exports = getJSON;