Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(env): give WWEBJS_WEB_VERSION_REMOTE_PATH its real default and placeholder

Yudhi Armyndharis03106f94bebc
diff --git a/.env.example b/.env.example
index 0d7e50ac7..a7bb4f2e6 100644
--- a/.env.example
+++ b/.env.example
@@ -159,8 +159,9 @@ OPENWA_PIDS_LIMIT=2048
# WWEBJS_WEB_VERSION=<a build from that registry's html/ folder>
# WWEBJS_WEB_VERSION=off
-# Remote path the whatsapp-web.js web-version registry is fetched from.
-# WWEBJS_WEB_VERSION_REMOTE_PATH=
+# The HTML URL template the pinned build is fetched from (see the note above). `{version}` is the
+# placeholder. Point it at an operator-controlled mirror to avoid trusting the public registry.
+# WWEBJS_WEB_VERSION_REMOTE_PATH=https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/{version}.html
# Extend the initial boot/inject wait (milliseconds) before QR generation. On slow first boots
# (WSL2 or low-resource containers) the default 30000ms can expire before WhatsApp Web finishes