mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-18 11:39:15 +00:00
fix(provider): fix error docker as root user
This commit is contained in:
@@ -24,6 +24,7 @@ class WebWhatsappProvider extends ProviderClass {
|
||||
super()
|
||||
this.vendor = new Client({
|
||||
authStrategy: new LocalAuth(),
|
||||
puppeteer: { headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox', '--unhandled-rejections=strict'] }
|
||||
})
|
||||
|
||||
const listEvents = this.busEvents()
|
||||
|
||||
Reference in New Issue
Block a user