sinzmise-cetastories-en 2.0.0-1732431967122 → 2.0.0-1732432357981

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,26 +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
- replace:
36
- - _ #保留原始请求
37
- - en.vercel.blog.sinzmise.top #Vercel托管
38
- - en.netlify.blog.sinzmise.top #Netlify托管
39
-
40
- - search: \.html$
41
- header:
42
- Content-Type: text/html;charset=UTF-8 #修复标头
43
-
44
- - search: _
45
- action: fetch
46
- fetch:
47
- status: 200
48
- engine: classic
49
- preflight: false
50
- timeout: 5000