1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-10-26 12:43:50 +03:00

Fix Connection error while opening WinSCP session using IPV6 address

This commit is contained in:
Mxmilu 2023-12-24 12:48:16 +08:00
parent 1369b5b299
commit 78a64a9025

View File

@ -39,8 +39,7 @@ export class SSHService {
}
if (profile.options.host.includes(':')) {
uri += `@[${profile.options.host}]:${profile.options.port}${cwd ?? '/'}`
}
else {
}else {
uri += `@${profile.options.host}:${profile.options.port}${cwd ?? '/'}`
}
}