From 2c299b29ac08b48a7b5ea09ba5dea417e8777c54 Mon Sep 17 00:00:00 2001 From: ChenYFan Date: Wed, 13 Jul 2022 08:13:53 +0000 Subject: [PATCH] deploy: d36e8d0aa6d5bbb64928575a9854283909da4d70 --- config.yaml | 2 +- cw.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index 0132902..870d181 100644 --- a/config.yaml +++ b/config.yaml @@ -32,7 +32,7 @@ catch_rules: #转换规则 - search: _ #ClientWorker语法糖,匹配捕捉规则的路由 - replace: docroot/clientworker@2.1.0/doc/docs/.vitepress/dist + replace: docroot/clientworker@2.1.1/doc/docs/.vitepress/dist - search: ^https\:\/\/docroot diff --git a/cw.js b/cw.js index f9fd14f..ecd56cb 100644 --- a/cw.js +++ b/cw.js @@ -4446,6 +4446,7 @@ const rebuildheaders = (re, headers) => { } return nHeaders } + return new Headers(re.headers) } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rebuild);