sinzmise-cetastories-en 2.0.0-1732434744332 → 2.0.0-1732435234060

Sign up to get free protection for your applications and to get access to all the features.
package/config.yaml CHANGED
@@ -17,6 +17,15 @@ catch_rules:
17
17
  - https://cdnjs.cdn.storisinz.site/ajax/libs
18
18
  - https://cdnjs.onmicrosoft.cn/ajax/libs
19
19
 
20
+ - rule: ^https\:\/\/cdnjs\.cloudflare\.com\/ajax\/libs
21
+ transform_rules:
22
+ - search: _
23
+ replace:
24
+ - _
25
+ - https://cdnjs.webstatic.cn/ajax/libs
26
+ - https://cdnjs.cdn.storisinz.site/ajax/libs
27
+ - https://cdnjs.onmicrosoft.cn/ajax/libs
28
+
20
29
  - rule: ^https\:\/\/((cdn|fastly|gcore|test1|quantil)\.jsdelivr\.net\/gh)
21
30
  transform_rules:
22
31
  - search: _
@@ -28,17 +37,26 @@ catch_rules:
28
37
  - rule: _ #ClientWorker语法糖,匹配当前域,返回一个域名带端口
29
38
  transform_rules: #转换规则,最上面的优先最高
30
39
  - search: \#.* #在发送请求时匹配#后内容并移除
40
+ searchin: url
31
41
  replace: ''
32
42
  - search: \?.* #在发送请求时匹配?后内容并移除,仅限静态请求
33
43
  replace: ''
34
- - search: boringbay\.com
44
+ - search: ([^\/.]+)\/index(|\.html)$ #优化url
45
+ action: redirect
46
+ redirect:
47
+ to: $1/
48
+ - search: boringbay\.com #绕过boringbay
35
49
  action: skip
36
- - search: tk\.pl\.blog\.sinzmise\.top
50
+ - search: tk\.pl\.blog\.sinzmise\.top #绕过twikoo后端
37
51
  action: skip
52
+ - search: ([^\/.]+)\/$ #解析index.html
53
+ replace: $1/index.html
38
54
  - search: _
39
55
  replace:
40
56
  - _ #保留原始请求
41
57
  - en.vercel.blog.sinzmise.top #Vercel托管
58
+ - jsd.cdn.storisinz.site/npm/sinzmise-cetastories-en #npm托管
59
+ - jsd.cdn.storisinz.site/gh/SinzMise/blog@en #gh托管
42
60
 
43
61
  - search: \.html$
44
62
  header: