Authored by 周少峰

Merge branch 'feature/seoUrl302' of git.yoho.cn:fe/yohobuy-node into feature/seoUrl302

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