Skip to content

Commit bcaebb0

Browse files
committed
11.6
1 parent 8a4876d commit bcaebb0

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

content/en/docs/engines/webjs.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ docker run -it -e "WHATSAPP_DEFAULT_ENGINE=WEBJS" devlikeapro/waha
2929
docker run -v `pwd`/.sessions:/app/.sessions -e "WHATSAPP_DEFAULT_ENGINE=WEBJS" devlikeapro/waha-plus
3030
```
3131

32+
## Configuration
33+
You can use some of the following environment variables to configure the [**WEBJS**]({{< relref "/docs/how-to/engines#webjs" >}}) session:
34+
- `WAHA_WEBJS_CACHE_TYPE=none` - disable cache (aka use the latest version) for the **web page** in the browser. By default, it's `local`, which means that the cache is stored in the container, latest compatible version is used.
35+
- `WAHA_WEBJS_WEB_VERSION=2.3000.XXXX` - set the version of the WhatsApp Web to use. By default, we're using the latest compatible version. Only works with `local` cache type.
36+
3237
## Links
3338

3439
- [https://github.com/devlikeapro/whatsapp-web.js](https://github.com/devlikeapro/whatsapp-web.js)

content/en/docs/how-to/config/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ Read more:
6969
- [**🖥️ Sessions**]({{< relref "/docs/how-to/sessions" >}})
7070
- [**🗄️ Storages**]({{< relref "/docs/how-to/storages#sessions" >}})
7171

72+
### WEBJS
73+
You can use some of the following environment variables to configure the [**WEBJS**]({{< relref "/docs/how-to/engines#webjs" >}}) session:
74+
- `WAHA_WEBJS_CACHE_TYPE=none` - disable cache (aka use the latest version) for the **web page** in the browser. By default, it's `local`, which means that the cache is stored in the container, latest compatible version is used.
75+
- `WAHA_WEBJS_WEB_VERSION=2.3000.XXXX` - set the version of the WhatsApp Web to use. By default, we're using the latest compatible version. Only works with `local` cache type.
76+
7277
## Webhooks
7378

7479
💡 You can open [https://webhook.site](https://webhook.site) and paste UUID from it to `url` field,

content/en/docs/overview/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Latest Version:
3232
## 2024.11
3333

3434
`2024.11.6`
35+
- **WEBJS** - Add `WAHA_WEBJS_CACHE_TYPE=none` - ability to disable cache for `WEBJS` engine {{< issue 653 >}}, {{< issue 654 >}}
36+
- [**⚙️ Configuration - WEBJS**]({{< relref "/docs/how-to/config#webjs" >}})
3537
- Fix **WAHA Core** version {{< issue 645 >}}
3638

3739
`2024.11.5`

0 commit comments

Comments
 (0)