sinzmise-cetastories-en 2.0.0-1732434744332 → 2.0.0-1732435619107
Sign up to get free protection for your applications and to get access to all the features.
- package/404.html +1 -1
- package/archives/2023/12/index.html +1 -1
- package/archives/2023/index.html +1 -1
- package/archives/index.html +1 -1
- package/atom.xml +2 -2
- package/baidu_verify_codeva-NA6uDlCuZg.html +1 -1
- package/categories/Test/index.html +1 -1
- package/categories/index.html +1 -1
- package/comments/index.html +1 -1
- package/config.yaml +35 -13
- package/google8073542809160a67.html +1 -1
- package/index.html +1 -1
- package/package.json +1 -1
- package/posts/46521/index.html +1 -1
- package/sitemap.xml +5 -5
- package/tags/Test/index.html +1 -1
- package/tags/index.html +1 -1
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,33 +37,46 @@ 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:
|
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
|
54
|
+
|
38
55
|
- search: _
|
39
56
|
replace:
|
40
57
|
- _ #保留原始请求
|
41
58
|
- en.vercel.blog.sinzmise.top #Vercel托管
|
42
|
-
|
59
|
+
- jsd.cdn.storisinz.site/npm/sinzmise-cetastories-en #npm托管
|
60
|
+
- jsd.cdn.storisinz.site/gh/SinzMise/blog@en #gh托管
|
43
61
|
- search: \.html$
|
44
62
|
header:
|
45
63
|
Content-Type: text/html;charset=UTF-8 #修复标头
|
46
64
|
|
47
|
-
|
65
|
+
- rule: .*
|
66
|
+
transform_rules:
|
67
|
+
- search: .*
|
48
68
|
action: fetch
|
49
69
|
fetch:
|
50
|
-
|
51
|
-
engine:
|
70
|
+
enable: true
|
71
|
+
engine: fetch
|
52
72
|
preflight: false
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
searchin: status
|
73
|
+
|
74
|
+
- search: (^4|^5)
|
75
|
+
searchin: status
|
57
76
|
action: return
|
58
|
-
return:
|
59
|
-
body:
|
60
|
-
|
77
|
+
return:
|
78
|
+
body: Error!
|
79
|
+
header:
|
80
|
+
content-type: text/plain;charset=utf-8
|
81
|
+
ServerProvide: ClientWorker
|
82
|
+
status: 503
|