From 880704dda0d39ec37fdf9b72f2b630d5a7fe2c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Sun, 28 May 2023 17:22:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96WAF=E2=80=9C=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E2=80=98=E5=8A=A8=E4=BD=9C=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/http-firewall-actions-box.js | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/web/public/js/components/server/http-firewall-actions-box.js b/web/public/js/components/server/http-firewall-actions-box.js index 37db9d50..205cec13 100644 --- a/web/public/js/components/server/http-firewall-actions-box.js +++ b/web/public/js/components/server/http-firewall-actions-box.js @@ -108,7 +108,15 @@ Vue.component("http-firewall-actions-box", { jsCookieLife: "", jsCookieMaxFails: "", - jsCookieFailBlockTimeout: "" + jsCookieFailBlockTimeout: "", + + statusOptions: [ + {"code": 301, "text": "Moved Permanently"}, + {"code": 308, "text": "Permanent Redirect"}, + {"code": 302, "text": "Found"}, + {"code": 303, "text": "See Other"}, + {"code": 307, "text": "Temporary Redirect"} + ] } }, watch: { @@ -657,6 +665,9 @@ Vue.component("http-firewall-actions-box", { :[{{config.options.status}}] + + :{{config.options.url}} + :{{config.options.groupName}} @@ -867,7 +878,11 @@ Vue.component("http-firewall-actions-box", { 状态码 * - + + + 跳转到URL