|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|