From b7c8335a82c468d25a198a5745cb3b8db22ef2c5 Mon Sep 17 00:00:00 2001 From: william Date: Fri, 22 Apr 2016 12:32:42 -0400 Subject: [PATCH] crunner --- routes/api.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/api.js b/routes/api.js index 6887d20..dba9df5 100644 --- a/routes/api.js +++ b/routes/api.js @@ -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;