diff --git a/backend/src/libs/wbot.ts b/backend/src/libs/wbot.ts index 579cc40..4febef7 100644 --- a/backend/src/libs/wbot.ts +++ b/backend/src/libs/wbot.ts @@ -46,18 +46,7 @@ export const initWbot = async (whatsapp: Whatsapp): Promise => { const wbot: Session = new Client({ session: sessionCfg, puppeteer: { - headless: true, - executablePath: process.env.CHROME_BIN || null, - args: [ - "--no-sandbox", - "--disable-setuid-sandbox", - "--disable-dev-shm-usage", - "--disable-accelerated-2d-canvas", - "--no-first-run", - "--no-zygote", - "--process-per-site", - "--disable-gpu" - ] + executablePath: process.env.CHROME_BIN || undefined } });