Skip to content

Commit

Permalink
enable new web ui for managing node
Browse files Browse the repository at this point in the history
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 <will@tailscale.com>
  • Loading branch information
willnorris committed Mar 4, 2024
1 parent b76177a commit 5448709
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions golink.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,10 @@ func Run() error {

// create tsNet server and wait for it to be ready & connected.
srv := &tsnet.Server{
ControlURL: *controlURL,
Hostname: *hostname,
Logf: func(format string, args ...any) {},
ControlURL: *controlURL,
Hostname: *hostname,
Logf: func(format string, args ...any) {},
RunWebClient: true,
}
if *verbose {
srv.Logf = log.Printf
Expand Down

0 comments on commit 5448709

Please sign in to comment.