From 488868d80e766327ce8ff4869a105f12b01d520f Mon Sep 17 00:00:00 2001 From: allburov Date: Sun, 11 Dec 2022 16:58:12 +0700 Subject: [PATCH] Add WHATSAPP_SWAGGER_USERNAME, WHATSAPP_SWAGGER_PASSWORD to config.md --- docs/site/content/en/docs/how-to/config/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/site/content/en/docs/how-to/config/index.md b/docs/site/content/en/docs/how-to/config/index.md index f4567e56..11edd8c0 100644 --- a/docs/site/content/en/docs/how-to/config/index.md +++ b/docs/site/content/en/docs/how-to/config/index.md @@ -24,6 +24,7 @@ docker run -it -e WHATSAPP_HOOK_EVENTS=* -e WHATSAPP_HOOK_URL=https://httpbin.or - `WHATSAPP_API_HOSTNAME=localhost` - Hostname for HTTP server (default: `localhost`) - `WHATSAPP_API_KEY=mysecret` - protect the api with a secret code. If you set it - add `X-Api-Key: mysecret` to all requests. +- `WHATSAPP_SWAGGER_USERNAME=admin` + `WHATSAPP_SWAGGER_PASSWORD=admin` - protect the Swagger panel with `admin / admin` credentials. It doesn't affect api access! - `WHATSAPP_START_SESSION=default` - start session with the name right after launching the app -