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

Commit

Permalink
deploy: 2b8e2fb
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenYFan committed Jul 13, 2022
1 parent e3629c2 commit 259ff99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ catch_rules: #转换规则


- search: _ #ClientWorker语法糖,匹配捕捉规则的路由
replace: docroot/[email protected].2/doc/docs/.vitepress/dist
replace: docroot/[email protected].3/doc/docs/.vitepress/dist


- search: ^https\:\/\/docroot
Expand Down
1 change: 0 additions & 1 deletion cw.js
Original file line number Diff line number Diff line change
Expand Up @@ -4276,7 +4276,6 @@ const mainhandle = async (request) => {
timeout: transform_rule.fetch.timeout
}
if (!transform_rule.fetch.preflight) {
console.log(tReq.headers.get('Accept'))
tReq = new Request(tReq.url, {
method: ((method) => {
if (method === "GET" || method === "HEAD" || method === "POST") return method;
Expand Down

0 comments on commit 259ff99

Please sign in to comment.