Showing
1 changed file
with
1 additions
and
1 deletions
@@ -12,7 +12,7 @@ module.exports = () => { | @@ -12,7 +12,7 @@ module.exports = () => { | ||
12 | let isWechat = /(MicroMessenger)/i.test(req.get('user-agent')); // eslint-disable-line | 12 | let isWechat = /(MicroMessenger)/i.test(req.get('user-agent')); // eslint-disable-line |
13 | 13 | ||
14 | 14 | ||
15 | - if (req.url === '/') { | 15 | + if (isMobile && req.url === '/') { |
16 | return res.redirect('//www.yohoshow.com/about/index/blkqr'); | 16 | return res.redirect('//www.yohoshow.com/about/index/blkqr'); |
17 | } | 17 | } |
18 | 18 |
-
Please register or login to post a comment