fix(connections): allow toggling HTTPS off in Add Connection dialog
Push to Main CI / build-and-package (push) Canceled after 0s

The 'Use HTTPS' switch was disabled whenever the web client itself was
served over HTTPS, making it impossible to add a plain-HTTP node.
Keep the switch always interactive and instead show a mixed-content
warning when HTTP is selected on an HTTPS-served page.

Adds unit tests for the protocol toggle.
This commit is contained in:
2026-08-30 20:46:39 +00:00
parent cffd35fe05
commit 9481b6614a
3 changed files with 63 additions and 3 deletions
@@ -79,6 +79,7 @@
"inputPlaceholder": "192.168.1.10 or meshtastic.local",
"heading": "URL or IP",
"useHttps": "Use HTTPS",
"mixedContentWarning": "This page is loaded over HTTPS. Your browser may block connections to an HTTP node.",
"invalidUrl": {
"title": "Invalid URL",
"description": "Please enter a valid HTTP or HTTPS URL."