Skip to content

Commit 0126db7

Browse files
authored
ui/model: adjust default control server URL (#531)
Updates tailscale/corp#23660 I screwed up by not including 'https://' in a last-minute refactoring :-)
1 parent 4ca757b commit 0126db7

File tree

1 file changed

+2
-2
lines changed
  • android/src/main/java/com/tailscale/ipn/ui/model

1 file changed

+2
-2
lines changed

android/src/main/java/com/tailscale/ipn/ui/model/IpnState.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ class IpnLocal {
131131
}
132132

133133
// Returns true if the profile uses a custom control server (not Tailscale SaaS).
134-
fun isUsingCustomControlServer(): Boolean {
135-
return ControlURL != null && ControlURL != "controlplane.tailscale.com"
134+
private fun isUsingCustomControlServer(): Boolean {
135+
return ControlURL != null && ControlURL != "https://controlplane.tailscale.com"
136136
}
137137

138138
// Returns the hostname of the custom control server, if any was set.

0 commit comments

Comments
 (0)