tambahan
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
DATABASE_URL="postgresql://user:pwd@localhost:5432/wajs?schema=public"
|
||||
JWT_SECRET=super_sangat_rahasia_sekali
|
||||
BUN_PUBLIC_BASE_URL=http://localhost:3000
|
||||
PORT=3000
|
||||
PORT=3000
|
||||
WWEBJS_AUTH=./.wwebjs_auth
|
||||
WWEBJS_CACHE=./.wwebjs_cache
|
||||
|
||||
@@ -117,6 +117,10 @@ async function startClient() {
|
||||
'--disable-gpu',
|
||||
],
|
||||
},
|
||||
webVersionCache: {
|
||||
path: process.env.WWEBJS_CACHE || path.join(process.cwd(), '.wwebjs_cache'),
|
||||
type: 'local',
|
||||
}
|
||||
});
|
||||
|
||||
state.client = client;
|
||||
|
||||
Reference in New Issue
Block a user