mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Updated to Express-ws 4.x
This commit is contained in:
parent
10e4ae4cbf
commit
21351889b5
6 changed files with 18 additions and 18 deletions
|
@ -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)); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue