mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-18 22:26:05 +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(':')) {
|
if (profile.options.host.includes(':')) {
|
||||||
uri += `@[${profile.options.host}]:${profile.options.port}${cwd ?? '/'}`
|
uri += `@[${profile.options.host}]:${profile.options.port}${cwd ?? '/'}`
|
||||||
}
|
}else {
|
||||||
else {
|
|
||||||
uri += `@${profile.options.host}:${profile.options.port}${cwd ?? '/'}`
|
uri += `@${profile.options.host}:${profile.options.port}${cwd ?? '/'}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user