From b1cdccc8ec81fea6e41f280e62f36b37c0aa0242 Mon Sep 17 00:00:00 2001 From: lwch Date: Thu, 18 Nov 2021 23:42:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3dashboard=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +- .../dashboard/{h_tunnels.go => h_rules.go} | 0 code/client/main.go | 2 +- html/dashboard/index.html | 17 ++++----- html/dashboard/js/index.js | 38 +++++++++---------- html/dashboard/js/terminal.js | 10 ++--- 6 files changed, 35 insertions(+), 35 deletions(-) rename code/client/dashboard/{h_tunnels.go => h_rules.go} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index e049677..ace9f84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,4 +62,5 @@ # v0.6.3 1. bootstrap降版到4.6.1 -2. dashboard页面支持隧道类型筛选 \ No newline at end of file +2. dashboard页面支持隧道类型筛选 +3. **为遵守中国法律,移除内网穿透功能** \ No newline at end of file diff --git a/code/client/dashboard/h_tunnels.go b/code/client/dashboard/h_rules.go similarity index 100% rename from code/client/dashboard/h_tunnels.go rename to code/client/dashboard/h_rules.go diff --git a/code/client/main.go b/code/client/main.go index 7ca45a9..3f67044 100644 --- a/code/client/main.go +++ b/code/client/main.go @@ -38,7 +38,7 @@ func main() { conf := flag.String("conf", "", "configure file path") ver := flag.Bool("version", false, "show version info") act := flag.String("action", "", "install or uninstall") - name := flag.String("name", "", "tunnel name") + name := flag.String("name", "", "rule name") vport := flag.Uint("vport", 6155, "vnc worker listen port") vcursor := flag.Bool("vcursor", false, "vnc show cursor") flag.Parse() diff --git a/html/dashboard/index.html b/html/dashboard/index.html index a778782..ab96d6e 100644 --- a/html/dashboard/index.html +++ b/html/dashboard/index.html @@ -4,10 +4,10 @@ {{template "aside" .}}