sinzmise-cetastories-en 2.0.0-1732430657092 → 2.0.0-1732431967122

Sign up to get free protection for your applications and to get access to all the features.
package/config.yaml CHANGED
@@ -1,5 +1,30 @@
1
1
  name: CetaHouseEnCache
2
2
  catch_rules:
3
+ - rule: ^https\:\/\/((cdn|fastly|gcore|test1|quantil)\.jsdelivr\.net\/npm|unpkg\.com)
4
+ transform_rules:
5
+ - search: _
6
+ replace:
7
+ - _
8
+ - https://jsd.cdn.storisinz.site/npm
9
+ - https://npm.webcache.cn
10
+
11
+ - rule: ^https\:\/\/cdnjs\.cloudflare\.com\/ajax\/libs
12
+ transform_rules:
13
+ - search: _
14
+ replace:
15
+ - _
16
+ - https://cdnjs.webstatic.cn/ajax/libs
17
+ - https://cdnjs.cdn.storisinz.site/ajax/libs
18
+ - https://cdnjs.onmicrosoft.cn/ajax/libs
19
+
20
+ - rule: ^https\:\/\/((cdn|fastly|gcore|test1|quantil)\.jsdelivr\.net\/gh)
21
+ transform_rules:
22
+ - search: _
23
+ replace:
24
+ - _
25
+ - https://jsd.cdn.storisinz.site/gh
26
+ - https://code.webcache.cn/gh
27
+
3
28
  - rule: _ #ClientWorker语法糖,匹配当前域,返回一个域名带端口
4
29
  transform_rules: #转换规则,最上面的优先最高
5
30
  - search: \#.* #在发送请求时匹配#后内容并移除
@@ -16,31 +41,6 @@ catch_rules:
16
41
  header:
17
42
  Content-Type: text/html;charset=UTF-8 #修复标头
18
43
 
19
- - rule: ^https\:\/\/((cdn|fastly|gcore|test1|quantil)\.jsdelivr\.net\/npm|unpkg\.com)
20
- transform_rules:
21
- - search: _
22
- replace:
23
- - _
24
- - https://jsd.cdn.storisinz.site/npm
25
- - https://npm.webcache.cn
26
-
27
- - rule: ^https\:\/\/cdnjs\.cloudflare\.com\/ajax\/libs
28
- transform_rules:
29
- - search: _
30
- replace:
31
- - _
32
- - https://cdnjs.webstatic.cn/ajax/libs
33
- - https://cdnjs.cdn.storisinz.site/ajax/libs
34
- - https://cdnjs.onmicrosoft.cn/ajax/libs
35
-
36
- - rule: ^https\:\/\/((cdn|fastly|gcore|test1|quantil)\.jsdelivr\.net\/gh)
37
- transform_rules:
38
- - search: _
39
- replace:
40
- - _
41
- - https://jsd.cdn.storisinz.site/gh
42
- - https://code.webcache.cn/gh
43
-
44
44
  - search: _
45
45
  action: fetch
46
46
  fetch:
@@ -48,10 +48,3 @@ catch_rules:
48
48
  engine: classic
49
49
  preflight: false
50
50
  timeout: 5000
51
-
52
- - search: (^4|^5)
53
- searchin: status
54
- action: return
55
- return:
56
- body: The GateWay is down!This Page is provided by ClientWorker!
57
- status: 503