zeus 4 years ago
parent
commit
268e07552c
  1. 2
      swarmlab-app/src/run/app.js

2
swarmlab-app/src/run/app.js

@ -137,7 +137,7 @@ cors(corsOptions), (req, res, next) => {
var obj = req.body[i];
var reslog = new Object();
reslog.message = obj
reslog.date = var d = new Date(year, month, day, hour, minute, second, millisecond);
reslog.date = new Date(year, month, day, hour, minute, second, millisecond);
io.emit("logdata", reslog);
/*

Loading…
Cancel
Save