This commit is contained in:
yanlong.wang 2025-03-13 15:57:36 +08:00
parent ff595c2b4c
commit adce02d708
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

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