|
|
@ -311,8 +311,8 @@ cors(corsOptions), (req, res, next) => { |
|
|
|
|
|
|
|
reslog.date = convertDateToUTC(now) |
|
|
|
console.log(reslog); |
|
|
|
console.log("IOT "+JSON.stringify(reslog)); |
|
|
|
console.log("IOTuser "+JSON.stringify(global)); |
|
|
|
console.log("IOT "+JSON.stringify(reslog.log.tailed_path)); |
|
|
|
console.log("IOTuser "+JSON.stringify(global.pipelines)); |
|
|
|
// io.in("iot").emit("message", reslog);
|
|
|
|
// io.emit("logdata", reslog);
|
|
|
|
/* |
|
|
|