浏览代码

Update CDN & Download Hosts

SukkaW 1 年之前
父节点
当前提交
5ccb839023
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      Build/build-internal-cdn-rules.ts
  2. 1 0
      Source/domainset/download.conf
  3. 1 2
      Source/non_ip/cdn.conf

+ 1 - 1
Build/build-internal-cdn-rules.ts

@@ -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);

+ 1 - 0
Source/domainset/download.conf

@@ -95,6 +95,7 @@ file24-d.kuku.lu
 .fuwamofu.com
 
 # >> Google
+cache.pack.google.com
 dl.google.com
 dl.l.google.com
 update.googleapis.com

+ 1 - 2
Source/non_ip/cdn.conf

@@ -23,5 +23,4 @@ DOMAIN-WILDCARD,appcenter-filemanagement-*.cloudapp.net
 # >> Daily Motion
 DOMAIN-WILDCARD,proxy-*.dailymotion.com
 # >> tgstat.ru
-DOMAIN-WILDCARD,static?.tgstat.ru
-DOMAIN-WILDCARD,static??.tgstat.ru
+DOMAIN-WILDCARD,static*.tgstat.ru