crunner
This commit is contained in:
parent
57cfc24e92
commit
b7c8335a82
@ -116,6 +116,8 @@ router.get('/list', function(req, res, next) {
|
||||
router.post('/run/:ip?', function doRun(req, res, next){
|
||||
// check if server is
|
||||
|
||||
console.log(req.body);
|
||||
|
||||
return lxc.list(function(data){
|
||||
if(!req.params.ip) data = [];
|
||||
var ip = '10.0.'+ req.params.ip;
|
||||
|
Loading…
x
Reference in New Issue
Block a user