1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Fixed: WWW Prefix (#233)

This commit is contained in:
nobody
2021-01-18 19:05:41 +01:00
parent 1b213bea58
commit 8cc77e719f
4 changed files with 16 additions and 12 deletions

View File

@@ -37,9 +37,7 @@ requestAnalyzer.isValidCandidate = function (requestDetails, tabDetails) {
initiatorDomain = Address.EXAMPLE;
}
wildcard = helpers.getWildcard(initiatorDomain);
isAllowlisted = requestAnalyzer.allowlistedDomains[initiatorDomain] || requestAnalyzer.allowlistedDomains[wildcard];
isAllowlisted = helpers.checkAllowlisted(initiatorDomain);
if (isAllowlisted) {
return false;
}