Skip to content

Commit

Permalink
ui/model: adjust default control server URL (#531)
Browse files Browse the repository at this point in the history
Updates tailscale/corp#23660

I screwed up by not including 'https://' in a last-minute refactoring :-)
  • Loading branch information
agottardo authored Oct 4, 2024
1 parent 4ca757b commit 0126db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/src/main/java/com/tailscale/ipn/ui/model/IpnState.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0126db7

Please sign in to comment.