mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #622 from omnivore-app/fix/puppeteer-headless
Remove single-process from chromium args
This commit is contained in:
commit
78b8e9fabc
1 changed files with 1 additions and 2 deletions
|
|
@ -72,11 +72,10 @@ const getBrowserPromise = (async () => {
|
|||
'--no-zygote',
|
||||
'--use-gl=swiftshader',
|
||||
'--window-size=1920,1080', // https://source.chromium.org/search?q=lang:cpp+symbol:kWindowSize&ss=chromium
|
||||
process.env.LAUNCH_HEADLESS ? '--single-process' : '--start-maximized',
|
||||
],
|
||||
defaultViewport: { height: 1080, width: 1920 },
|
||||
executablePath: process.env.CHROMIUM_PATH ,
|
||||
headless: !!process.env.LAUNCH_HEADLESS,
|
||||
headless: true,
|
||||
timeout: 0,
|
||||
userDataDir: '/tmp/puppeteer',
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue