Wait for the server's tailnet peer before connecting at app startup
This commit is contained in:
@@ -144,7 +144,7 @@ func parseOrigin(_ text: String) -> URL? {
|
||||
}
|
||||
var origin = URLComponents()
|
||||
origin.scheme = "https"
|
||||
origin.host = host.lowercased()
|
||||
origin.host = (host.hasSuffix(".") ? String(host.dropLast()) : host).lowercased()
|
||||
origin.port = c.port
|
||||
return origin.url
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user