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

Wildcard entries for HTML filter (#709)

This commit is contained in:
nobody
2021-10-04 20:40:44 +02:00
parent 416e95d479
commit 2f8e89c27b
2 changed files with 5 additions and 1 deletions

View File

@@ -257,7 +257,7 @@ stateManager._domainIsListed = function (domain, listname) {
let allowlistRecord, isAllowlisted;
if (listname === 'manipulate-dom') {
allowlistRecord = requestAnalyzer.domainsManipulateDOM[domain];
allowlistRecord = helpers.checkAllowlisted(domain, requestAnalyzer.domainsManipulateDOM);
isAllowlisted = Boolean(allowlistRecord);
} else {
allowlistRecord = helpers.checkAllowlisted(domain, requestAnalyzer.allowlistedDomains);