This commit is contained in:
Dragon Fire
2021-04-03 19:55:37 -04:00
parent b448e771de
commit 4530099c44
+1 -1
View File
@@ -222,7 +222,7 @@ module.exports = class Util {
}
const parsedRedirect = new URL(redirectURL);
const { type: reType, domain: reDomain, topLevelDomains: reTop } = parseDomain(parsedRedirect.hostname);
if (reType !== ParseResultType.Listsed) return null;
if (reType !== ParseResultType.Listed) return null;
if (siteList.includes(`${reDomain}.${reTop.join('.')}`)) return true;
return false;
}