mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
Fix Connection error while opening WinSCP session using IPV6 address
This commit is contained in:
@@ -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 ?? '/'}`
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user