Merge branch 'feature/seoUrl302' of git.yoho.cn:fe/yohobuy-node into feature/seoUrl302
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -10,7 +10,7 @@ const TYPE = require('../type'); | @@ -10,7 +10,7 @@ const TYPE = require('../type'); | ||
10 | module.exports = [ | 10 | module.exports = [ |
11 | { | 11 | { |
12 | type: TYPE.redirect, | 12 | type: TYPE.redirect, |
13 | - origin: /\/about?shopId=([\d]+)/, | 13 | + origin: /\/about\?shopId=([\d]+)/, |
14 | target: (req, match, id) => { | 14 | target: (req, match, id) => { |
15 | return helpers.urlFormat(`/shop${id}-about`, null, req.subdomains[0]); | 15 | return helpers.urlFormat(`/shop${id}-about`, null, req.subdomains[0]); |
16 | } | 16 | } |
-
Please register or login to post a comment