Showing
1 changed file
with
5 additions
and
0 deletions
@@ -73,6 +73,11 @@ module.exports = () => { | @@ -73,6 +73,11 @@ module.exports = () => { | ||
73 | req.url = `/product${req.url}`; | 73 | req.url = `/product${req.url}`; |
74 | } | 74 | } |
75 | 75 | ||
76 | + if (/^\/sale/.test(req.url)) { | ||
77 | + // 匹配 life-style-sale | ||
78 | + req.url = `/product${req.url}`; | ||
79 | + } | ||
80 | + | ||
76 | next(); | 81 | next(); |
77 | }; | 82 | }; |
78 | }; | 83 | }; |
-
Please register or login to post a comment