Showing
1 changed file
with
0 additions
and
1 deletions
@@ -57,7 +57,6 @@ module.exports = () => { | @@ -57,7 +57,6 @@ module.exports = () => { | ||
57 | 57 | ||
58 | // 判断请求是否来自app | 58 | // 判断请求是否来自app |
59 | yoho.isMarsApp = /yohomars/i.test(req.get('User-Agent') || ''); | 59 | yoho.isMarsApp = /yohomars/i.test(req.get('User-Agent') || ''); |
60 | - yoho.isMarsApp = true; | ||
61 | 60 | ||
62 | // 判断请求是否来自app | 61 | // 判断请求是否来自app |
63 | yoho.isApp = (req.query.app_version && req.query.app_version !== 'false') || | 62 | yoho.isApp = (req.query.app_version && req.query.app_version !== 'false') || |
-
Please register or login to post a comment