Updated to Express-ws 4.x

This commit is contained in:
Ylian Saint-Hilaire
2018-11-30 21:23:10 -08:00
parent 4f33d8e551
commit e8bcf423ea
6 changed files with 18 additions and 18 deletions

View File

@@ -413,7 +413,7 @@ function createMeshCore(agent) {
if (xurl != null) {
var woptions = http.parseUri(xurl);
woptions.rejectUnauthorized = 0;
sendConsoleText(JSON.stringify(woptions));
//sendConsoleText(JSON.stringify(woptions));
var tunnel = http.request(woptions);
tunnel.upgrade = onTunnelUpgrade;
tunnel.onerror = function (e) { sendConsoleText('ERROR: ' + JSON.stringify(e)); }