From debba76ff5ffc44b0376a71d4e1e443fe9b43bcd Mon Sep 17 00:00:00 2001 From: Daniel Ding Date: Mon, 26 May 2025 10:24:47 +0800 Subject: [PATCH] fix: access: remove terminal option. --- pkg/public/index.html | 4 ++-- pkg/switch/link.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/public/index.html b/pkg/public/index.html index de0bc35..9037764 100755 --- a/pkg/public/index.html +++ b/pkg/public/index.html @@ -191,7 +191,7 @@

- The point accessed to, and total {{ len .Clients }}+{{ len .Points }}. + The point accessed to, and total {{ len .Clients }}+{{ len .Access }}.

@@ -221,7 +221,7 @@ {{ .State }} {{ end }} - {{ range .Points }} + {{ range .Access }} {{ .UUID }} {{ prettyTime .AliveTime }} diff --git a/pkg/switch/link.go b/pkg/switch/link.go index 2e278a1..60734d6 100755 --- a/pkg/switch/link.go +++ b/pkg/switch/link.go @@ -89,7 +89,6 @@ func (l *Link) Start() error { args := []string{ "-alias", l.cfg.Connection + "@" + l.cfg.Network, "-conf", file, - "-terminal", "ww", } l.out.Debug("Link.Start %s %v", l.Path(), args) cmd := exec.Command(l.Path(), args...)