fix(xo-server/proxy-console): pass hostname to net.connect
This commit is contained in:
parent
62d48bd59d
commit
5e363761a2
@ -12,7 +12,7 @@ export default function proxyConsole (ws, vmConsole, sessionId) {
|
||||
|
||||
const socket = connect(
|
||||
{
|
||||
host: url.host,
|
||||
host: url.hostname,
|
||||
port: url.port || 443,
|
||||
rejectUnauthorized: false,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user