Merge branch 'feature/seoUrl' of git.yoho.cn:fe/yohobuy-node into feature/seoUrl
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -17,7 +17,7 @@ module.exports = [ | @@ -17,7 +17,7 @@ module.exports = [ | ||
17 | return req.path === '/'; | 17 | return req.path === '/'; |
18 | }, | 18 | }, |
19 | target: (req) => { | 19 | target: (req) => { |
20 | - return helpers.urlFormat(`/${req.query.channel}/`, null, 'guang'); | 20 | + return helpers.urlFormat(`/${req.query.channel || 'boys'}/`, null, 'guang'); |
21 | } | 21 | } |
22 | }, | 22 | }, |
23 | 23 |
-
Please register or login to post a comment