mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 09:10:35 +08:00
Update CDN & Download Hosts
This commit is contained in:
parent
b2690e6fb2
commit
5ccb839023
@ -26,7 +26,7 @@ const processLocalRuleSet = async (ruleSetPath: string, set: Set<string>, keywor
|
|||||||
set.add(line.slice(7));
|
set.add(line.slice(7));
|
||||||
} else if (line.startsWith('DOMAIN-KEYWORD')) {
|
} else if (line.startsWith('DOMAIN-KEYWORD')) {
|
||||||
keywords.add(escapeRegExp(line.slice(15)));
|
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
|
// do nothing
|
||||||
} else if (processLine(line)) {
|
} else if (processLine(line)) {
|
||||||
console.warn('[drop line from ruleset]', line);
|
console.warn('[drop line from ruleset]', line);
|
||||||
|
|||||||
@ -95,6 +95,7 @@ file24-d.kuku.lu
|
|||||||
.fuwamofu.com
|
.fuwamofu.com
|
||||||
|
|
||||||
# >> Google
|
# >> Google
|
||||||
|
cache.pack.google.com
|
||||||
dl.google.com
|
dl.google.com
|
||||||
dl.l.google.com
|
dl.l.google.com
|
||||||
update.googleapis.com
|
update.googleapis.com
|
||||||
|
|||||||
@ -23,5 +23,4 @@ DOMAIN-WILDCARD,appcenter-filemanagement-*.cloudapp.net
|
|||||||
# >> Daily Motion
|
# >> Daily Motion
|
||||||
DOMAIN-WILDCARD,proxy-*.dailymotion.com
|
DOMAIN-WILDCARD,proxy-*.dailymotion.com
|
||||||
# >> tgstat.ru
|
# >> tgstat.ru
|
||||||
DOMAIN-WILDCARD,static?.tgstat.ru
|
DOMAIN-WILDCARD,static*.tgstat.ru
|
||||||
DOMAIN-WILDCARD,static??.tgstat.ru
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user