Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae256da596 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -8,3 +8,4 @@ cookies.txt
|
|||||||
bin/
|
bin/
|
||||||
mychats.txt
|
mychats.txt
|
||||||
manybot.conf
|
manybot.conf
|
||||||
|
update.log
|
||||||
@@ -16,7 +16,15 @@ logger.info(isTermux
|
|||||||
// ── Instância ─────────────────────────────────────────────────
|
// ── Instância ─────────────────────────────────────────────────
|
||||||
export const client = new Client({
|
export const client = new Client({
|
||||||
authStrategy: new LocalAuth({ clientId: CLIENT_ID }),
|
authStrategy: new LocalAuth({ clientId: CLIENT_ID }),
|
||||||
puppeteer: { headless: true, ...resolvePuppeteerConfig() },
|
puppeteer: {
|
||||||
|
headless: true,
|
||||||
|
args: [
|
||||||
|
'--no-sandbox',
|
||||||
|
'--disable-setuid-sandbox',
|
||||||
|
...(resolvePuppeteerConfig().args || [])
|
||||||
|
],
|
||||||
|
...resolvePuppeteerConfig()
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// ── Eventos ───────────────────────────────────────────────────
|
// ── Eventos ───────────────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user