|
@ -137,7 +137,7 @@ cors(corsOptions), (req, res, next) => { |
|
|
var obj = req.body[i]; |
|
|
var obj = req.body[i]; |
|
|
var reslog = new Object(); |
|
|
var reslog = new Object(); |
|
|
reslog.message = obj |
|
|
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); |
|
|
io.emit("logdata", reslog); |
|
|
/* |
|
|
/* |
|
|