Fixed bug using port specified in the socket

pull/312/head
cloud9 2016-05-31 16:31:34 +00:00
rodzic e1b3426361
commit 159c1c5419
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -240,7 +240,7 @@ define(function(require, exports, module) {
path: parsedSocket.path,
host: parsedSocket.host,
port: parsedSocket.port
|| parsedSocket.protocol == "https:" ? "443" : null,
|| (parsedSocket.protocol == "https:" ? "443" : null),
secure: parsedSocket.protocol
? parsedSocket.protocol == "https:" : true,
rejectUnauthorized: options.rejectUnauthorized