Wait for the server's tailnet peer before connecting at app startup

This commit is contained in:
Ian Gulliver
2026-10-20 14:52:10 -07:00
parent a2571763b4
commit a95e0ddb29
5 changed files with 83 additions and 12 deletions
+1 -1
View File
@@ -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
}