From 1dce0358cc822cf371355cc4ceebce62bc26aba8 Mon Sep 17 00:00:00 2001 From: william Date: Fri, 22 Apr 2016 22:56:47 -0400 Subject: [PATCH] crunner --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 82522ee..696152e 100644 --- a/routes/api.js +++ b/routes/api.js @@ -32,7 +32,7 @@ var runner = function(req, res, ip){ lxcTimeout(ip); console.log('code to run:\n', req.body.code); return request.post({url:'http://'+ip, body: JSON.stringify({code: req.body.code}) }, function(error, response, body){ - console.log(response); + console.log('arguments:\n', arguments); // body = JSON.parse(body); body['ip'] = ip.replace('10.0.', ''); return res.json(body);