diff --git a/plugins/c9.vfs.client/vfs_client.js b/plugins/c9.vfs.client/vfs_client.js index a8b083e9..0a2c8c6a 100644 --- a/plugins/c9.vfs.client/vfs_client.js +++ b/plugins/c9.vfs.client/vfs_client.js @@ -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