From 826c5d9bf66a60a0c83a483e36e42b5bc3720366 Mon Sep 17 00:00:00 2001 From: Leifer Mendez Date: Sun, 16 Jan 2022 21:29:22 +0100 Subject: [PATCH] fix check file --- app.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index f0bd6d3..6732bcb 100644 --- a/app.js +++ b/app.js @@ -121,7 +121,13 @@ const withSession = () => { const withOutSession = () => { console.log('No tenemos session guardada'); - client = new Client(); + client = new Client({ + puppeteer: { + args: [ + '--no-sandbox' + ], + } + }); client.on('qr', qr => { qrcode.generate(qr, { small: true });