8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afd1e6b commit 97b461fCopy full SHA for 97b461f
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