Keep the iPhone's name out of its tailnet hostname

This commit is contained in:
Ian Gulliver
2026-10-22 10:10:34 -07:00
parent 08fe45814e
commit 33604e2a51
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -26,7 +26,11 @@ func slug(_ text: String) -> String {
final class TailnetNode: Sendable {
let sd: tailscale
#if os(macOS)
let hostname = "byre-app-\(slug(deviceName))"
#else
let hostname = "byre-app-\(slug(deviceKind))"
#endif
private let socks = TailnetProxy()
init() {