Browse Source

getconf route (wip)

all-modes
pbca26 8 years ago
parent
commit
fd61185d7e
  1. 5
      routes/shepherd.js

5
routes/shepherd.js

@ -285,6 +285,10 @@ shepherd.quitKomodod = function(chain) {
});
}
shepherd.getConf = function(chain) {
// get komodod user and pass
}
/*
* type: POST
* params: payload
@ -310,7 +314,6 @@ shepherd.post('/cli', function(req, res, next) {
const _cmd = req.body.payload.cmd;
const _params = req.body.payload.params ? ' ' + req.body.payload.params : '';
if (_mode === 'default') {
const auth = {
user: 'user2492216534',

Loading…
Cancel
Save