Skip to content

Commit d42088e

Browse files
committed
dont strip workspace tld in table
1 parent e1191ba commit d42088e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Coder-Desktop/VPNLib/FileSync/FileSyncSession.swift

+1-2
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)