send port always

This commit is contained in:
Avently
2024-09-17 22:30:29 +07:00
parent 71eea6f68b
commit 14dd066d80
@@ -3642,9 +3642,7 @@ data class NetworkProxy(
if (host != "localhost") {
res += if (host.contains(':')) "[${host.trim(' ', '[', ']')}]" else host.trim()
}
if (port != 9050 || res.isEmpty()) {
res += ":$port"
}
res += ":$port"
return res
}
}