This commit is contained in:
yanlong.wang 2025-02-24 11:38:47 +08:00
parent 6335c526ec
commit ecb1af07f9
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -494,7 +494,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) => {