This commit is contained in:
William Mantly 2016-02-02 13:22:39 -05:00
parent e976bd3ad0
commit 1a1cc28158

View File

@ -84,7 +84,7 @@ router.get('/list', function(req, res, next) {
}); });
}); });
router.post('/run/:ip?', function(req, res, next){ router.post('/run', 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);