Skip to content

Commit 97b461f

Browse files
committed
dont strip workspace tld in table
1 parent afd1e6b commit 97b461f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Coder-Desktop/VPNLib/FileSync/FileSyncSession.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ public struct FileSyncSession: Identifiable {
2626
"Unknown"
2727
}
2828
if state.session.beta.protocol == Url_Protocol.ssh, !state.session.beta.host.isEmpty {
29-
let host = state.session.beta.host
3029
// TOOD: We need to either:
3130
// - make this compatible with custom suffixes
3231
// - always strip the tld
3332
// - always keep the tld
34-
agentHost = host.hasSuffix(".coder") ? String(host.dropLast(6)) : host
33+
agentHost = state.session.beta.host
3534
} else {
3635
agentHost = "Unknown"
3736
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy