Something went wrong. Try again.
forked from tailscale/tailscale
Something went wrong. Try again.
12345678910111213141516171819202122// Copyright (c) Tailscale Inc & contributors// SPDX-License-Identifier: BSD-3-Clause
//go:build !ts_omit_webclient
package main
import ( "tailscale.com/client/local" "tailscale.com/ipn/ipnlocal" "tailscale.com/paths")
func init() { hookConfigureWebClient.Set(func(lb *ipnlocal.LocalBackend) { lb.ConfigureWebClient(&local.Client{ Socket: args.socketpath, UseSocketOnly: args.socketpath != paths.DefaultTailscaledSocket(), }) })}