Authored by 陈峰

seobug修改

... ... @@ -59,4 +59,5 @@
{{> footer-tab}}
{{# params}}
{{> common/query-param}}
{{/params}}
\ No newline at end of file
{{/params}}
<input type="hidden" id="no-download">
\ No newline at end of file
... ...
... ... @@ -56,7 +56,7 @@ const _processPublicData = (req, title, page, backUrl) => {
let index = (req, res, next) => {
let refer = req.get('Referer') || `${global.yoho.config.siteUrl}/${req.cookies._Channel || ''}`;
let reqPath = req.baseUrl + req.path;
let backUrl = refer.indexOf(reqPath) === -1 ? refer : '';
let backUrl = refer.indexOf(reqPath) === -1 && refer.indexOf('-sale') === -1 ? refer : '';
if (['boys', 'girls', 'kids', 'lifestyle'].indexOf(req.yoho.channel) === -1) {
return next();
... ...