fix(provider): fix error docker as root user

This commit is contained in:
Leifer Mendez
2023-01-08 15:54:32 +01:00
committed by GitHub
parent cb0d0be786
commit 5a033da83a

View File

@@ -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()