Browse Source

add rest

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

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

@ -367,6 +367,7 @@ cors(corsOptions), (req, res, next) => {
RES.error = 'no'
}
if(RES.error == 'ok'){
var resdata = await getuserpipelines(RES.token,isvalid.user,RES.swarmlabname)
var mongourl = "mongodb://"+CONFIG.mongo.user+":"+CONFIG.mongo.password+"@ondemand_playground_mongo1:27017,ondemand_playground_mongo2:27017,ondemand_playground_mongo3:27017,ondemand_playground_mongo4:27017,ondemand_playground_mongo5:27017,ondemand_playground_mongo6:27017,ondemand_playground_mongo7:27017/fluent?replicaSet=rs1&authSource=swarmlabplaygroundstats"
const OPTS = {

Loading…
Cancel
Save