...
|
...
|
@@ -28,7 +28,11 @@ exports.index = (req, res, next) => { |
|
|
|
|
|
if (req.originalUrl && req.originalUrl.indexOf('.html') < 0 &&
|
|
|
!_.isEmpty(req.query)) {
|
|
|
return res.redirect(301, helpers.urlFormat(handleFilterUrl('/list', req.query)));
|
|
|
let rUrl = handleFilterUrl('/list', req.query);
|
|
|
|
|
|
if (rUrl !== req.originalUrl) {
|
|
|
return res.redirect(301, helpers.urlFormat(rUrl));
|
|
|
}
|
|
|
}
|
|
|
|
|
|
try {
|
...
|
...
|
|