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

Initial commit to add wildcard for Google Fonts and HTML filters (#613)

This commit is contained in:
nobody
2021-08-07 08:39:10 +02:00
parent 67b67bbd68
commit 651d19bfa6
6 changed files with 13 additions and 11 deletions

View File

@@ -230,7 +230,7 @@ stateManager._domainIsListed = function (domain, listname) {
allowlistRecord = requestAnalyzer.domainsManipulateDOM[domain];
isAllowlisted = Boolean(allowlistRecord);
} else {
allowlistRecord = helpers.checkAllowlisted(domain);
allowlistRecord = helpers.checkAllowlisted(domain, requestAnalyzer.allowlistedDomains);
isAllowlisted = Boolean(allowlistRecord);
}
return isAllowlisted;