Barış Soner Uşaklı 7 years ago
parent d040544773
commit 5287c2ea08

@ -70,7 +70,7 @@ module.exports = function (middleware) {
if (req.route && req.route.path === '/api/') {
options.title = '[[pages:home]]';
}
req.app.set('json spaces', global.env === 'development' || req.query.pretty ? 4 : 0);
return res.json(options);
}

Loading…
Cancel
Save