mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-07-31 23:52:02 +08:00
fix
This commit is contained in:
parent
c4be29b1da
commit
7d4102e96e
@ -539,7 +539,7 @@ export class PuppeteerControl extends AsyncService {
|
|||||||
}
|
}
|
||||||
this.browser = await puppeteer.launch({
|
this.browser = await puppeteer.launch({
|
||||||
timeout: 10_000,
|
timeout: 10_000,
|
||||||
headless: false,
|
headless: true,
|
||||||
executablePath: process.env.OVERRIDE_CHROME_EXECUTABLE_PATH,
|
executablePath: process.env.OVERRIDE_CHROME_EXECUTABLE_PATH,
|
||||||
args: ['--disable-dev-shm-usage']
|
args: ['--disable-dev-shm-usage']
|
||||||
}).catch((err: any) => {
|
}).catch((err: any) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user