Update CDN & Download Hosts

This commit is contained in:
SukkaW
2024-04-23 15:37:37 +08:00
parent b2690e6fb2
commit 5ccb839023
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ const processLocalRuleSet = async (ruleSetPath: string, set: Set<string>, keywor
set.add(line.slice(7));
} else if (line.startsWith('DOMAIN-KEYWORD')) {
keywords.add(escapeRegExp(line.slice(15)));
} else if (line.includes('USER-AGENT,') || line.includes('PROCESS-NAME,') || line.includes('URL-REGEX,')) {
} else if (line.includes('USER-AGENT,') || line.includes('PROCESS-NAME,') || line.includes('URL-REGEX,') || line.includes('DOMAIN-WILDCARD')) {
// do nothing
} else if (processLine(line)) {
console.warn('[drop line from ruleset]', line);