Authored by 李靖

mip优化

... ... @@ -3,7 +3,7 @@
module.exports = (req, res, next) => {
Object.assign(res.locals, {
canonical: 'https://m.yohobuy.com' + req.path,
miphtml: 'https://m.yohobuy.com' + req.originalUrl
miphtml: 'https://m.yohobuy.com/mip' + req.originalUrl
});
next();
... ...
... ... @@ -23,7 +23,7 @@
<script type="application/ld+json">
{
@context: "https://ziyuan.baidu.com/contexts/cambrian.jsonld",
@id: "{{miphtml}}",
@id: "https://m.yohobuy.com/mip/guang/info/{{mipId}}.html",
appid: "1583402501013173",
title: "{{title}} | Yoho!Buy有货 | 潮流购物逛不停",
images: [
... ...