cli/web: pass existing localClient to web client

Updates tailscale/corp#13775

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
main
Sonia Appasamy 3 years ago committed by Sonia Appasamy
parent 5cfa85e604
commit 78f087aa02
  1. 2
      cmd/tailscale/cli/web.go

@ -78,7 +78,7 @@ func runWeb(ctx context.Context, args []string) error {
return fmt.Errorf("too many non-flag arguments: %q", args)
}
webServer, cleanup := web.NewServer(webArgs.dev, nil)
webServer, cleanup := web.NewServer(webArgs.dev, &localClient)
defer cleanup()
if webArgs.cgi {

Loading…
Cancel
Save