Browse Source

global

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

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

@ -93,6 +93,7 @@ async function checkToken(token) {
instance.defaults.timeout = 30000;
const res = await instance.post('/istokenvalidsso',params,options);
if(res.status == 200){
console.log(JSON.stringify(res))
return res.data
}else{
console.log("noerror: " + res)
@ -228,7 +229,7 @@ global.pipelines=[];
indexfind === -1 ? global.pipelines.push(resob) : console.log("object already exists")
//console.log('info', JSON.stringify(resdata));
console.log('info------------- ', JSON.stringify(global.pipelines));
//console.log('info------------- ', JSON.stringify(global.pipelines));
})()
})
.on('addDir', function(path) {

Loading…
Cancel
Save