From 90882f91ef3cd4f59e4db85679031f2710814873 Mon Sep 17 00:00:00 2001 From: MacBook Date: Mon, 4 May 2026 05:42:31 +0200 Subject: [PATCH] docs: clarify ws:// vs wss:// for self-hosted servers --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e913535..34944a8 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,8 @@ The server will be available at `ws://localhost:3000`. See [docker-compose.examp To connect your extension to a self-hosted server, open the popup → **Room** tab → select **Custom Server** → enter your server's WebSocket URL (e.g., `ws://localhost:3000`). +> **⚠️ Note**: `ws://` only works for `localhost`. If you deploy to a real domain, you **must** use `wss://` (e.g., `wss://sync.yourdomain.com`). This requires a TLS-terminating reverse proxy (e.g., Caddy, Nginx, or Traefik) in front of the relay server. + --- ### 📖 Documentation & Links