This commit is contained in:
yanlong.wang 2025-03-11 17:49:44 +08:00
parent c4be29b1da
commit 7d4102e96e
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -539,7 +539,7 @@ export class PuppeteerControl extends AsyncService {
}
this.browser = await puppeteer.launch({
timeout: 10_000,
headless: false,
headless: true,
executablePath: process.env.OVERRIDE_CHROME_EXECUTABLE_PATH,
args: ['--disable-dev-shm-usage']
}).catch((err: any) => {