This commit is contained in:
William Mantly 2016-02-02 13:20:14 -05:00
parent 1cf89568b7
commit e976bd3ad0

View File

@ -84,7 +84,7 @@ router.get('/list', function(req, res, next) {
}); });
}); });
router.get('/run/:ip?', function(req, res, next){ router.post('/run/:ip?', function(req, res, next){
var runner = function(res, req, ip){ var runner = function(res, req, ip){
request.post({url:'http://'+ip, body:req.post}, function(error, response, body){ request.post({url:'http://'+ip, body:req.post}, function(error, response, body){
body = JSON.parse(body); body = JSON.parse(body);