mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 04:29:16 +00:00
add app.json heroku one click
This commit is contained in:
9
app.js
9
app.js
@@ -96,9 +96,14 @@ const withSession = () => {
|
||||
console.log(`Validando session con Whatsapp...`)
|
||||
sessionData = require(SESSION_FILE_PATH);
|
||||
client = new Client({
|
||||
session: sessionData
|
||||
session: sessionData,
|
||||
puppeteer: {
|
||||
args: [
|
||||
'--no-sandbox'
|
||||
],
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
client.on('ready', () => {
|
||||
connectionReady()
|
||||
listenMessage()
|
||||
|
||||
Reference in New Issue
Block a user