We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1191ba commit d42088eCopy full SHA for d42088e
Coder-Desktop/VPNLib/FileSync/FileSyncSession.swift
@@ -26,12 +26,11 @@ public struct FileSyncSession: Identifiable {
26
"Unknown"
27
}
28
if state.session.beta.protocol == Url_Protocol.ssh, !state.session.beta.host.isEmpty {
29
- let host = state.session.beta.host
30
// TOOD: We need to either:
31
// - make this compatible with custom suffixes
32
// - always strip the tld
33
// - always keep the tld
34
- agentHost = host.hasSuffix(".coder") ? String(host.dropLast(6)) : host
+ agentHost = state.session.beta.host
35
} else {
36
agentHost = "Unknown"
37
0 commit comments