client/web: hide admin panel links for non-tailscale control servers

Updates #10261

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
This commit is contained in:
Sonia Appasamy
2023-11-29 15:58:56 -05:00
committed by Sonia Appasamy
parent 8af503b0c5
commit bcc9b44cb1
8 changed files with 105 additions and 40 deletions
+1 -1
View File
@@ -570,7 +570,7 @@ func (p *Prefs) AdminPageURL() string {
// TODO(crawshaw): In future release, make this https://console.tailscale.com
url = "https://login.tailscale.com"
}
return url + "/admin/machines"
return url + "/admin"
}
// AdvertisesExitNode reports whether p is advertising both the v4 and