Browse Source

add rest

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

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

@ -398,8 +398,10 @@ cors(corsOptions), (req, res, next) => {
for (let i in item) { for (let i in item) {
reslab = item[i].message.app_name reslab = item[i].message.app_name
console.log('------------------- ' + item[i].message.app_name)
RES.reslab = reslab RES.reslab = reslab
if(resdata.data.filter(item1 => item1.res25swarmlabname.includes(reslab))){ if(resdata.data.filter(item1 => item1.res25swarmlabname.includes(reslab))){
console.log('------->>>>>----->>>------- ' + item[i].message.app_name)
resdataarray.push(item[i]) resdataarray.push(item[i])
RES.found = item[i] RES.found = item[i]
} }

Loading…
Cancel
Save