mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 12:39:24 +00:00
fix check file
This commit is contained in:
8
app.js
8
app.js
@@ -121,7 +121,13 @@ const withSession = () => {
|
|||||||
const withOutSession = () => {
|
const withOutSession = () => {
|
||||||
console.log('No tenemos session guardada');
|
console.log('No tenemos session guardada');
|
||||||
|
|
||||||
client = new Client();
|
client = new Client({
|
||||||
|
puppeteer: {
|
||||||
|
args: [
|
||||||
|
'--no-sandbox'
|
||||||
|
],
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
client.on('qr', qr => {
|
client.on('qr', qr => {
|
||||||
qrcode.generate(qr, { small: true });
|
qrcode.generate(qr, { small: true });
|
||||||
|
|||||||
Reference in New Issue
Block a user