|
|
@ -406,8 +406,9 @@ cors(corsOptions), (req, res, next) => { |
|
|
|
console.log('------------------- ' + item[i].tailed_path) |
|
|
|
console.log('-----++++++++++++++++++++++++--- ' + nameofswarmlab) |
|
|
|
|
|
|
|
if( resdata.data.filter(item1 => item1.res25swarmlabname.includes(nameofswarmlab)).length > 0 ){ |
|
|
|
RES.lenght = resdata.data.filter(item1 => item1.res25swarmlabname.includes(nameofswarmlab)).length |
|
|
|
//if( resdata.data.filter(item1 => item1.res25swarmlabname.includes(nameofswarmlab)).length > 0 ){
|
|
|
|
var regexlog = '/'+nameofswarmlab+'/' |
|
|
|
if( resdata.data.filter(item1 => regexlog.test(item1.res25swarmlabname))){ |
|
|
|
resdataarray.push(item[i]) |
|
|
|
RES.found = item[i] |
|
|
|
} |
|
|
|