Authored by yyq

lint

... ... @@ -101,9 +101,9 @@ exports.hasNewUserFloor = (req, res, next) => {
// 频道页301重定向
exports.redirect = (goUrl) => {
return function(req, res, next) {
if (req.path === goUrl) {
return next();
}
if (req.path === goUrl) {
return next();
}
res.redirect(301, goUrl);
};
... ...