mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 02:51:50 +00:00
Fixed server crash on device file download.
This commit is contained in:
parent
c20f388fea
commit
fd93edf0eb
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ module.exports.CreateMeshDeviceFile = function (parent, ws, res, req, domain, us
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// HTTP connection, Send message to other peers that we have this connection
|
// HTTP connection, Send message to other peers that we have this connection
|
||||||
parent.parent.multiServer.DispatchMessage(JSON.stringify({ action: 'relay', id: obj.id }));
|
if (parent.parent.multiServer != null) { parent.parent.multiServer.DispatchMessage(JSON.stringify({ action: 'relay', id: obj.id })); }
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue