This commit is contained in:
TaoBeier
2016-08-30 23:21:14 +08:00
committed by typicode
parent 2c53d62860
commit c597a20276

View File

@ -44,8 +44,7 @@ module.exports = function (source) {
// GET /db
function showDatabase (req, res, next) {
res.locals.data = db.getState()
next()
res.jsonp(db.getState())
}
router.get('/db', showDatabase)