deploy: 42302b03100f668db7a9f89ad1b530db28ca684a

This commit is contained in:
SukkaBot
2022-04-17 13:59:52 +00:00
parent 30d7a7698f
commit 2b99d2fd8a
3 changed files with 60089 additions and 494 deletions

View File

@@ -151,9 +151,9 @@ async function processFilterRules(filterRulesUrl) {
|| line.endsWith('^|')
)
) {
const domain = `.${line.replaceAll('||', '').replaceAll('^|', '').replaceAll('^', '')}`.trim();
const domain = `${line.replaceAll('||', '').replaceAll('^|', '').replaceAll('^', '')}`.trim();
if (rDomain.test(domain)) {
blacklistDomainSets.add(domain);
blacklistDomainSets.add(`.${domain}`);
}
} else if (line.startsWith('://')
&& (