config issue
This commit is contained in:
parent
106d9eead4
commit
d09daf685f
@ -72,7 +72,9 @@ router.get('/info/:name', function(req, res, next){
|
|||||||
});
|
});
|
||||||
|
|
||||||
router.get('/list', function(req, res, next) {
|
router.get('/list', function(req, res, next) {
|
||||||
lxc.list(res.json);
|
lxc.list(function(data){
|
||||||
|
res.json(data);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user