Showing
1 changed file
with
3 additions
and
1 deletions
@@ -59,7 +59,9 @@ module.exports = [ | @@ -59,7 +59,9 @@ module.exports = [ | ||
59 | origin: (req) => req.path === '/brands/plusstar', | 59 | origin: (req) => req.path === '/brands/plusstar', |
60 | target: (req) => { | 60 | target: (req) => { |
61 | return helpers.urlFormat( | 61 | return helpers.urlFormat( |
62 | - `/${req.query.channel}-brands/plusstar/id${req.query.id}-p${req.query.page || 1}`, null, 'www' | 62 | + `/${req.query.channel}-brands/plusstar/id${req.query.id || 0}-p${req.query.page || 1}/`, |
63 | + null, | ||
64 | + 'www' | ||
63 | ); | 65 | ); |
64 | } | 66 | } |
65 | } | 67 | } |
-
Please register or login to post a comment