Browse Source

add rest

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

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

@ -418,6 +418,7 @@ cors(corsOptions), (req, res, next) => {
var regexlog = new RegExp(nameofswarmlab); var regexlog = new RegExp(nameofswarmlab);
if( resdata.data.filter(item1 => regexlog.test(item1.res25swarmlabname))){ if( resdata.data.filter(item1 => regexlog.test(item1.res25swarmlabname))){
console.log('----->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>--- ' + nameofswarmlab) console.log('----->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>--- ' + nameofswarmlab)
console.log('-----oooooooooooooooooooooo--- ' + item[i])
resdataarray.push(item[i]) resdataarray.push(item[i])
RES.found = item[i] RES.found = item[i]
}else{ }else{

Loading…
Cancel
Save