Showing
1 changed file
with
1 additions
and
1 deletions
@@ -6,7 +6,7 @@ const cookie = require('yoho-cookie'); | @@ -6,7 +6,7 @@ const cookie = require('yoho-cookie'); | ||
6 | 6 | ||
7 | const u = navigator.userAgent; | 7 | const u = navigator.userAgent; |
8 | const isFromYOHO = /m\.yohobuy\.com/i.test(document.referrer); | 8 | const isFromYOHO = /m\.yohobuy\.com/i.test(document.referrer); |
9 | -const isApp = /yohobuy/i.test(u) || | 9 | +const isApp = /yoho/i.test(u) || |
10 | !!window.yohoInterface || | 10 | !!window.yohoInterface || |
11 | /app_version=/i.test(location.search) || | 11 | /app_version=/i.test(location.search) || |
12 | /openrefer=/i.test(location.search); | 12 | /openrefer=/i.test(location.search); |
-
Please register or login to post a comment