sinzmise-cetastories-en 2.0.0-1732439769720 → 2.0.0-1732441369928
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 +30 -1
- package/cw.js +1 -1
- 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 +2 -2
- package/tags/Test/index.html +1 -1
- package/tags/index.html +1 -1
package/config.yaml
CHANGED
@@ -1,5 +1,35 @@
|
|
1
1
|
name: CetaHouseEnCache
|
2
2
|
catch_rules:
|
3
|
+
- rule: _ #ClientWorker语法糖,匹配当前域,返回一个域名带端口
|
4
|
+
transform_rules: #转换规则,最上面的优先最高
|
5
|
+
- search: \#.* #在发送请求时匹配#后内容并移除
|
6
|
+
searchin: url
|
7
|
+
replace: ''
|
8
|
+
- search: \?.* #在发送请求时匹配?后内容并移除,仅限静态请求
|
9
|
+
replace: ''
|
10
|
+
- search: ([^\/.]+)\/index(|\.html)$ #url优化
|
11
|
+
action: redirect
|
12
|
+
redirect:
|
13
|
+
to: $1/
|
14
|
+
- search: ([^\/.]+)\/$
|
15
|
+
replace: $1/index.html
|
16
|
+
- search: _
|
17
|
+
replace:
|
18
|
+
- _ #保留原始请求
|
19
|
+
- en.vercel.blog.sinzmise.top #Vercel托管
|
20
|
+
|
21
|
+
- search: \.html$
|
22
|
+
header:
|
23
|
+
Content-Type: text/html;charset=UTF-8 #修复标头
|
24
|
+
|
25
|
+
- search: _
|
26
|
+
action: fetch
|
27
|
+
fetch:
|
28
|
+
status: 200
|
29
|
+
engine: classic
|
30
|
+
preflight: false
|
31
|
+
timeout: 5000
|
32
|
+
|
3
33
|
- rule: ^https\:\/\/((cdn|fastly|gcore|test1|quantil)\.jsdelivr\.net\/npm|unpkg\.com)
|
4
34
|
transform_rules:
|
5
35
|
- search: _
|
@@ -24,4 +54,3 @@ catch_rules:
|
|
24
54
|
- _
|
25
55
|
- https://jsd.cdn.storisinz.site/gh
|
26
56
|
- https://code.webcache.cn/gh
|
27
|
-
|
package/cw.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
importScripts("https://jsd.cdn.storisinz.site/npm/clientworker/dist/cw.js");
|
1
|
+
importScripts("https://jsd.cdn.storisinz.site/npm/clientworker/dist/cw.js");
|