Showing
1 changed file
with
1 additions
and
1 deletions
@@ -11,7 +11,7 @@ const seoMap = require('./seoConfig'); | @@ -11,7 +11,7 @@ const seoMap = require('./seoConfig'); | ||
11 | module.exports = () => { | 11 | module.exports = () => { |
12 | return (req, res, next) => { | 12 | return (req, res, next) => { |
13 | if (!req.xhr) { | 13 | if (!req.xhr) { |
14 | - Object.assign(res.locals, seoMap[req.path] || seoMap['default']); | 14 | + Object.assign(res.locals, seoMap[req.path] || seoMap.default); |
15 | } | 15 | } |
16 | next(); | 16 | next(); |
17 | }; | 17 | }; |
-
Please register or login to post a comment