Node.js based forum software built for the modern web
fix 404 title on api calls
barisusaklie171b544e922
diff --git a/src/routes/index.js b/src/routes/index.jsindex 4d95ccb25f..67238e4dbe 100644--- a/src/routes/index.js+++ b/src/routes/index.js@@ -189,7 +189,7 @@ function handle404(app, middleware) {res.status(404);if (res.locals.isAPI) {- return res.json({path: req.path});+ return res.json({path: req.path, title: '[[global:404.title]]'});}middleware.buildHeader(req, res, function() {