This commit is contained in:
William Mantly 2016-02-02 14:14:10 -05:00
parent ec85940bcb
commit 9a46cbfd9a

View File

@ -85,6 +85,7 @@ router.get('/list', function(req, res, next) {
});
router.post('/run/:ip?', function(req, res, next){
var runner = function(res, req, ip){
console.log('runner on', ip,'with body:\n', typeof req.body);
return request.post({url:'http://'+ip, json: req.body}, function(error, response, body){