sinzmise-cetastories-en 2.0.0-1732432159347 → 2.0.0-1732432470702

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