From bd4996492d49fe13fc342d19287f2848e69ee0f9 Mon Sep 17 00:00:00 2001 From: jessikitty Date: Mon, 18 May 2026 12:19:21 +1000 Subject: [PATCH] =?UTF-8?q?Auto-detect=20URL=20from=20page=20origin=20?= =?UTF-8?q?=E2=80=94=20works=20on=20HTTP,=20HTTPS,=20LAN=20IP,=20or=20doma?= =?UTF-8?q?in?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed CONFIG_HA_URL. The dashboard now always uses window.location.origin so it adapts to however you access HA: - https://ha.hideawaygaming.com.au → wss:// WebSocket - http://10.0.0.55:8123 → ws:// WebSocket Same token, no config change needed. --- www/parental_controls.html | 99 +++++++++----------------------------- 1 file changed, 23 insertions(+), 76 deletions(-) diff --git a/www/parental_controls.html b/www/parental_controls.html index c8e7189..70b5db8 100644 --- a/www/parental_controls.html +++ b/www/parental_controls.html @@ -134,9 +134,6 @@ input[type=time]::-webkit-calendar-picker-indicator{filter:invert(.5)}