sinzmise-cetastories-en 2.0.0-1732432800579 → 2.0.0-1732435234060

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,16 +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
49
+ action: skip
50
+ - search: tk\.pl\.blog\.sinzmise\.top #绕过twikoo后端
35
51
  action: skip
52
+ - search: ([^\/.]+)\/$ #解析index.html
53
+ replace: $1/index.html
36
54
  - search: _
37
55
  replace:
38
56
  - _ #保留原始请求
39
57
  - en.vercel.blog.sinzmise.top #Vercel托管
40
- - en.netlify.blog.sinzmise.top #Netlify托管
58
+ - jsd.cdn.storisinz.site/npm/sinzmise-cetastories-en #npm托管
59
+ - jsd.cdn.storisinz.site/gh/SinzMise/blog@en #gh托管
41
60
 
42
61
  - search: \.html$
43
62
  header: