mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-26 07:57:56 +03:00
Fix for recording playback server crash, #3337
This commit is contained in:
parent
d58953a0e1
commit
bcbfea559f
@ -3511,7 +3511,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
|
||||
if (err) {
|
||||
try { ws.close(); } catch (ex) { } // File does not exist
|
||||
} else {
|
||||
obj.fs.open(filefullpath, function (err, fd) {
|
||||
obj.fs.open(filefullpath, 'r', function (err, fd) {
|
||||
if (err == null) {
|
||||
// When data is received from the web socket
|
||||
ws.on('message', function (msg) {
|
||||
|
Loading…
Reference in New Issue
Block a user