forked from victorsouzaleal/lbot-whatsapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
28 lines (27 loc) · 798 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = config = (headless, start) => {
return{
sessionId: 'session',
headless,
qrTimeout: 0,
authTimeout: 0,
skipUpdateCheck: true,
multiDevice: true,
cachedPatch: true,
cacheEnabled: false,
restartOnCrash: start,
useChrome: true,
stickerServerEndpoint: true,
killProcessOnBrowserClose: true,
throwErrorOnTosBlock: false,
chromiumArgs: [
'--no-sandbox',
'--disable-setuid-sandbox',
'--aggressive-cache-discard',
'--disable-cache',
'--disable-gl-drawing-for-tests',
'--disable-application-cache',
'--disable-offline-load-stale-cache',
'--disk-cache-size=0'
]
}
}