From e5356b10cc15c02c60eb15b5b83858507a6dc306 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sat, 10 Jun 2023 17:35:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E6=9D=A1=E4=BB=B6=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=94=AF=E6=8C=81=E2=80=9C=E5=85=A8=E7=AB=99=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/http-cache-config-box.js | 4 +-- .../components/server/http-cache-ref-box.js | 3 +- .../server/http-cache-refs-config-box.js | 2 +- .../server/http-cond-definitions.js | 30 +++++++++++++++++++ web/public/js/conds/official.json | 11 ++++++- 5 files changed, 45 insertions(+), 5 deletions(-) diff --git a/web/public/js/components/server/http-cache-config-box.js b/web/public/js/components/server/http-cache-config-box.js index 6b160bc2..c93aa884 100644 --- a/web/public/js/components/server/http-cache-config-box.js +++ b/web/public/js/components/server/http-cache-config-box.js @@ -141,8 +141,8 @@ Vue.component("http-cache-config-box", {
-

缓存条件

- +

缓存条件   [添加]

+
` diff --git a/web/public/js/components/server/http-cache-ref-box.js b/web/public/js/components/server/http-cache-ref-box.js index 294cc862..734844d4 100644 --- a/web/public/js/components/server/http-cache-ref-box.js +++ b/web/public/js/components/server/http-cache-ref-box.js @@ -177,9 +177,10 @@ Vue.component("http-cache-ref-box", { 条件类型 * + +

支持全站所有URL。

+` +}) + // URL精准匹配 Vue.component("http-cond-url-eq", { props: ["v-cond"], diff --git a/web/public/js/conds/official.json b/web/public/js/conds/official.json index 9fcaf104..a76a63af 100644 --- a/web/public/js/conds/official.json +++ b/web/public/js/conds/official.json @@ -1,7 +1,7 @@ [ { "type": "url-extension", - "name": "URL扩展名", + "name": "文件扩展名", "description": "根据URL中的文件路径扩展名进行过滤", "component": "http-cond-url-extension", "paramsTitle": "扩展名列表", @@ -16,6 +16,15 @@ "isRequest": true, "caseInsensitive": false }, + { + "type": "url-all", + "name": "全站", + "description": "全站所有URL", + "component": "http-cond-url-all", + "paramsTitle": "URL完整路径", + "isRequest": true, + "caseInsensitive": false + }, { "type": "url-prefix", "name": "URL前缀",