Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
deploy: 5f08575
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenYFan committed Jul 17, 2022
1 parent 09a8ec6 commit c6dfee9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: ClientWorker Docs Config
hotpatch:
clientworker:
- https://raw.githubusercontent.com/ChenYFan/ClientWorker/gh-pages/cw.js
hotconfig:
- https://raw.githubusercontent.com/ChenYFan/ClientWorker/gh-pages/config.yaml
catch_rules: #转换规则
- rule: _ #ClientWorker语法糖,匹配当前域,返回一个域名带端口
transform_rules: #转换规则,最上面的优先最高
Expand Down Expand Up @@ -34,7 +36,7 @@ catch_rules: #转换规则


- search: _ #ClientWorker语法糖,匹配捕捉规则的路由
replace: docroot/clientworker@2.2.4/doc/docs/.vitepress/dist
replace: docroot/clientworker@2.3.0/doc/docs/.vitepress/dist


- search: ^https\:\/\/docroot
Expand Down
4 changes: 2 additions & 2 deletions cw.js

Large diffs are not rendered by default.

0 comments on commit c6dfee9

Please sign in to comment.