tailscale/tsnet/example
Sonia Appasamy 191e2ce719 client/web: add ServerMode to web.Server
Adds a new Mode to the web server, indicating the specific
scenario the constructed server is intended to be run in. Also
starts filling this from the cli/web and ipn/ipnlocal callers.

From cli/web this gets filled conditionally based on whether the
preview web client node cap is set. If not set, the existing
"legacy" client is served. If set, both a login/lobby and full
management client are started (in "login" and "manage" modes
respectively).

Updates tailscale/corp#14335

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
2023-11-02 17:20:05 -04:00
..
tshello all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tsnet-funnel tsnet: add CertDomains helper (#7533) 2023-03-11 16:12:57 -05:00
tsnet-http-client all: update copyright and license headers 2023-01-27 15:36:29 -08:00
web-client client/web: add ServerMode to web.Server 2023-11-02 17:20:05 -04:00