|
|
@ -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', |
|
|
|