client/web: remove DebugMode from GET /api/data

No longer using this! Readonly state fully managed via auth endpoint.
Also getting rid of old Legacy server mode.

A #cleanup

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
This commit is contained in:
Sonia Appasamy
2023-11-15 16:50:03 -05:00
committed by Sonia Appasamy
parent 6f7a1b51a8
commit 2dbd546766
4 changed files with 3 additions and 20 deletions

View File

@@ -30,7 +30,7 @@ func main() {
// Serve the Tailscale web client.
ws, err := web.NewServer(web.ServerOpts{
Mode: web.LegacyServerMode,
Mode: web.LoginServerMode,
LocalClient: lc,
})
if err != nil {