From ca8d3f6db8fa19a88b1859b3c5a77db2bc1dc42f Mon Sep 17 00:00:00 2001 From: William Harrison Date: Fri, 4 Nov 2022 16:49:39 +0800 Subject: [PATCH] update invalid domains --- utils/getJSON.js | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/utils/getJSON.js b/utils/getJSON.js index bb27126..14909ea 100644 --- a/utils/getJSON.js +++ b/utils/getJSON.js @@ -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; \ No newline at end of file +module.exports = getJSON;