fix(all): WhatsApp mp4 sending OK with Chrome.

This commit is contained in:
Rodrigo Rodriguez 2023-12-22 20:21:31 -03:00
parent c42843c190
commit dbf0d965cd

View file

@ -120,7 +120,7 @@ export class GBSSR {
ignoreHTTPSErrors: true,
headless: false,
defaultViewport: null,
executablePath: executablePath(),
executablePath: process.env.CHROME_PATH ? process.env.CHROME_PATH : executablePath(),
ignoreDefaultArgs: ['--enable-automation', '--enable-blink-features=IdleDetection']
};
}