runner
This commit is contained in:
1 parent
1cf89568b7
commit
e976bd3ad0
1 file changed
+1
-1
+1
-1
@@ -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){
|
||||
request.post({url:'http://'+ip, body:req.post}, function(error, response, body){
|
||||
body = JSON.parse(body);
|
||||
|
||||
Reference in new issue
Block a user