Browse Source

global

master
zeus 4 years ago
parent
commit
0efb4e14bc
  1. 2
      swarmlab-app/src/run/app.js

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

@ -275,8 +275,8 @@ cors(corsOptions), (req, res, next) => {
console.log("mongo "+JSON.stringify(req.body));
console.log("LOG "+JSON.stringify(req.body[0].message));
console.log("PATH "+JSON.stringify(req.body[0].tailed_path));
var getpath = await onlogfile(req.body[0].tailed_path)
for (var i = 0; i < req.body.length; i++){
var getpath = await onlogfile(req.body[i].tailed_path)
var obj = req.body[i];
//var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data.res25swarmlabname);

Loading…
Cancel
Save