github-actions[bot] commited on
Commit
0af80ea
·
1 Parent(s): 2d206c5

Update from GitHub Actions

Browse files
Files changed (1) hide show
  1. src/index.ts +3 -2
src/index.ts CHANGED
@@ -37,8 +37,9 @@ async function initGensparkContext() {
37
  userAgent: userAgent,
38
  viewport: { width: 1920, height: 1080 },
39
  deviceScaleFactor: 1,
40
- hasTouch: false,
41
- locale: 'zh-CN',
 
42
  timezoneId: 'America/New_York',
43
  geolocation: { longitude: -73.935242, latitude: 40.730610 }, // 纽约坐标,可根据需要调整
44
  permissions: ['geolocation'],
 
37
  userAgent: userAgent,
38
  viewport: { width: 1920, height: 1080 },
39
  deviceScaleFactor: 1,
40
+ isMobile: true,
41
+ hasTouch: true,
42
+ locale: 'en-US',
43
  timezoneId: 'America/New_York',
44
  geolocation: { longitude: -73.935242, latitude: 40.730610 }, // 纽约坐标,可根据需要调整
45
  permissions: ['geolocation'],