From 33dfdf9444e794781cfd062160afacea4e114e78 Mon Sep 17 00:00:00 2001 From: samwaf Date: Sat, 30 Dec 2023 21:18:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=B8=BB=E6=9C=BA=E8=BF=9C=E7=AB=AF?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E7=9A=84=E7=89=B9=E6=AE=8A=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- localwaf/src/pages/waf/host/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/localwaf/src/pages/waf/host/index.vue b/localwaf/src/pages/waf/host/index.vue index 0b2a9b5..eb3f74a 100644 --- a/localwaf/src/pages/waf/host/index.vue +++ b/localwaf/src/pages/waf/host/index.vue @@ -630,7 +630,7 @@ if(postdata.remote_host.length==0){ postdata.remote_host = "http://"+postdata.host }else{ - if(postdata.remote_host.startsWith("http://")==false || postdata.remote_host.startsWith("http://")==false ){ + if(postdata.remote_host.startsWith("http://")==false || postdata.remote_host.startsWith("https://")==false ){ postdata.remote_host = "http://"+postdata.remote_host } } @@ -673,7 +673,7 @@ if(postdata.remote_host.length==0){ postdata.remote_host = "http://"+postdata.host }else{ - if(postdata.remote_host.startsWith("http://")==false || postdata.remote_host.startsWith("http://")==false ){ + if(postdata.remote_host.startsWith("http://")==false || postdata.remote_host.startsWith("https://")==false ){ postdata.remote_host = "http://"+postdata.remote_host } }