|
@ -397,13 +397,11 @@ cors(corsOptions), (req, res, next) => { |
|
|
reslab = item[i].message.app_name |
|
|
reslab = item[i].message.app_name |
|
|
if(resdata.filter(item1 => item1.res25swarmlabname.includes(reslab))){ |
|
|
if(resdata.filter(item1 => item1.res25swarmlabname.includes(reslab))){ |
|
|
resdataarray.push(item[i]) |
|
|
resdataarray.push(item[i]) |
|
|
resraw = resdata.data[i] |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
RES.error_msg = "ok" |
|
|
RES.error_msg = "ok" |
|
|
RES.data = item |
|
|
RES.data = item |
|
|
RES.dataserver = resdataarray |
|
|
RES.dataserver = resdataarray |
|
|
RES.dataserverraw = resraw |
|
|
|
|
|
res.json(RES) |
|
|
res.json(RES) |
|
|
}) |
|
|
}) |
|
|
.catch(err => { |
|
|
.catch(err => { |
|
|