mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-22 11:52:03 +03:00
Fix Connection error while opening WinSCP session using IPV6 address
This commit is contained in:
parent
1369b5b299
commit
78a64a9025
@ -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 ?? '/'}`
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user