mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-10-31 13:52:15 +01:00
fix: keep stored secrets when an older UI sends them empty
Firmware and UI files update separately, so an old index.js can run against firmware that no longer returns secrets. It sends "" for the field it can't fill in, which cleared the WiFi passphrase (reboot into AP mode) or the MQTT password. The firmware now decides: "" keeps the stored secret, unless the same request changes the SSID or MQTT username, then it clears it (open network). /setNetwork compares the settings after applying them, so a kept passphrase no longer triggers a reboot. The UI cache-buster moves to 3.0.14d. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1fb4c4cfcd
commit
9383ebec2e
6 changed files with 77 additions and 34 deletions
|
|
@ -8,9 +8,9 @@
|
|||
<meta name="apple-mobile-web-app-title" content="ESPSomfy RTS App">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
|
||||
<link rel="stylesheet" href="main.css?v=3.0.14c" type="text/css" />
|
||||
<link rel="stylesheet" href="widgets.css?v=3.0.14c" type="text/css" />
|
||||
<link rel="stylesheet" href="icons.css?v=3.0.14c" type="text/css" />
|
||||
<link rel="stylesheet" href="main.css?v=3.0.14d" type="text/css" />
|
||||
<link rel="stylesheet" href="widgets.css?v=3.0.14d" type="text/css" />
|
||||
<link rel="stylesheet" href="icons.css?v=3.0.14d" type="text/css" />
|
||||
<link rel="icon" type="image/png" href="favicon.png" />
|
||||
|
||||
<!-- iPad retina icon -->
|
||||
|
|
@ -114,7 +114,7 @@
|
|||
rel="apple-touch-startup-image">
|
||||
|
||||
|
||||
<script type="text/javascript" src="index.js?v=3.0.14c"></script>
|
||||
<script type="text/javascript" src="index.js?v=3.0.14d"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="divContainer" class="container main" data-auth="false">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue