Skip to content

Commit 5448709

Browse files
committed
enable new web ui for managing node
we've had support for enabling the web UI in tsnet apps from the beginning, but I don't think we've ever actually used it anywhere. some of the settings exposed through the web ui don't make a ton of sense for tsnet, and might not even work. But we're working toward being able to enable the web ui on clients by default (with all of the existing restrictions and ACL enforcement in place), and golink seemed like a good playground to try it in a tsnet app. Signed-off-by: Will Norris <[email protected]>
1 parent b76177a commit 5448709

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

golink.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,10 @@ func Run() error {
161161

162162
// create tsNet server and wait for it to be ready & connected.
163163
srv := &tsnet.Server{
164-
ControlURL: *controlURL,
165-
Hostname: *hostname,
166-
Logf: func(format string, args ...any) {},
164+
ControlURL: *controlURL,
165+
Hostname: *hostname,
166+
Logf: func(format string, args ...any) {},
167+
RunWebClient: true,
167168
}
168169
if *verbose {
169170
srv.Logf = log.Printf

0 commit comments

Comments
 (0)