Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(dashboard): note that the VITE_WS_URL warning covers ws://
Yudhi Armyndharis8023f7440bda
diff --git a/dashboard/src/hooks/useWebSocket.ts b/dashboard/src/hooks/useWebSocket.tsindex dad123f20..dd289e214 100644--- a/dashboard/src/hooks/useWebSocket.ts+++ b/dashboard/src/hooks/useWebSocket.ts@@ -141,7 +141,7 @@ interface ServerErrorFrame {// The origin of VITE_WS_URL when set, else of VITE_API_URL (a split-origin build names the API there), else the// page's own origin (the single-container setup, or nginx proxying /socket.io in Docker).const SOCKET_URL = resolveSocketUrl(import.meta.env.VITE_WS_URL, API_ORIGIN, window.location.origin);-// Warn when VITE_WS_URL is an insecure http:// URL on a non-localhost host; api.ts already warns+// Warn when VITE_WS_URL is an insecure http:// or ws:// URL on a non-localhost host; api.ts already warns// about VITE_API_URL under its own name.if (import.meta.env.VITE_WS_URL) warnIfInsecureHttpUrl(SOCKET_URL, 'VITE_WS_URL');