From 5e43607579fe9f7d9f45dceb68055f6076216562 Mon Sep 17 00:00:00 2001 From: Samuele Barzaghi Date: Sat, 19 Oct 2024 16:19:08 +0200 Subject: [PATCH] The last backslash must not be there Using the backslash Cat returns HTTP 403 --- mkdocs/production/administrators/env-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs/production/administrators/env-variables.md b/mkdocs/production/administrators/env-variables.md index 3e017e136..dc84cc941 100644 --- a/mkdocs/production/administrators/env-variables.md +++ b/mkdocs/production/administrators/env-variables.md @@ -85,7 +85,7 @@ By default, WebSocket endpoints are open to the public. If you want to lock them down, set this environment variable, e.g. `CCAT_API_KEY_WS=meows`. To pass the gate, call the WS endpoint using a `token` query parameter: -Example `ws://localhost:1865/ws//?token=`. +Example `ws://localhost:1865/ws/?token=`. Keep in mind that api keys are intended for machine-2-machine communication; If you are talking to the Cat from a browser, set the api keys to secure your installation, but only communicate with the Cat via JWT (TODO: insert JWT tutorial).