diff --git a/src/server/router/index.js b/src/server/router/index.js index 47f927094..657f6e5ea 100644 --- a/src/server/router/index.js +++ b/src/server/router/index.js @@ -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)