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