mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-07 08:07:42 +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)
|
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()
|
defer cleanup()
|
||||||
|
|
||||||
if webArgs.cgi {
|
if webArgs.cgi {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user