ui/model: adjust default control server URL

Updates tailscale/corp#23660

I screwed up by not including 'https://' in a last-minute refactoring :-)
pull/531/head
Andrea Gottardo 1 year ago
parent 4ca757bb75
commit 9376a78131

@ -131,8 +131,8 @@ class IpnLocal {
}
// Returns true if the profile uses a custom control server (not Tailscale SaaS).
fun isUsingCustomControlServer(): Boolean {
return ControlURL != null && ControlURL != "controlplane.tailscale.com"
private fun isUsingCustomControlServer(): Boolean {
return ControlURL != null && ControlURL != "https://controlplane.tailscale.com"
}
// Returns the hostname of the custom control server, if any was set.

Loading…
Cancel
Save