Skip to content

Commit

Permalink
update env
Browse files Browse the repository at this point in the history
  • Loading branch information
SySafarila committed Dec 17, 2023
1 parent 7861a6c commit 2a45125
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
APP_PORT=3000
IS_DOCKER=true
JWT_SECRET=secret
JWT_SECRET="secret"
3 changes: 2 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ services:
environment:
NODE_ENV: production
IS_DOCKER: true
JWT_SECRET: "secret"
ports:
- 3000:3000
volumes:
- ./temp:/home/node/wwebjs/.wwebjs_auth:rw
- ./temp:/home/node/wwebjs/.wwebjs_cache:rw
- ./temp:/home/node/wwebjs/.wwebjs_cache:rw
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ whatsapp.on("authenticated", authenticated);
whatsapp.on("disconnected", disconnected);
whatsapp.on("qr", qr);
whatsapp.on("message", message);
// whatsapp.initialize();
whatsapp.initialize();

0 comments on commit 2a45125

Please sign in to comment.