|
@ -407,7 +407,7 @@ cors(corsOptions), (req, res, next) => { |
|
|
console.log('-----++++++++++++++++++++++++--- ' + nameofswarmlab) |
|
|
console.log('-----++++++++++++++++++++++++--- ' + nameofswarmlab) |
|
|
|
|
|
|
|
|
//if( resdata.data.filter(item1 => item1.res25swarmlabname.includes(nameofswarmlab)).length > 0 ){
|
|
|
//if( resdata.data.filter(item1 => item1.res25swarmlabname.includes(nameofswarmlab)).length > 0 ){
|
|
|
var regexlog = '/'+nameofswarmlab+'/' |
|
|
var regexlog = new RegExp(nameofswarmlab); |
|
|
if( resdata.data.filter(item1 => regexlog.test(item1.res25swarmlabname))){ |
|
|
if( resdata.data.filter(item1 => regexlog.test(item1.res25swarmlabname))){ |
|
|
resdataarray.push(item[i]) |
|
|
resdataarray.push(item[i]) |
|
|
RES.found = item[i] |
|
|
RES.found = item[i] |
|
|