mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 23:07:44 +00:00
cli/web: pass existing localClient to web client
Updates tailscale/corp#13775 Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
This commit is contained in:
parent
5cfa85e604
commit
78f087aa02
@ -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…
x
Reference in New Issue
Block a user