Authored by yyq

lint

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