From 3677b8aff84cea8602ebd6daf0e843d64d5cc7ff Mon Sep 17 00:00:00 2001
From: BlueFox
Date: Tue, 26 Mar 2024 19:33:09 +0100
Subject: [PATCH] simpledemo.html: Added wifi config change interactively;
restart button works now; save and restore is remaining
---
simpledemo.html | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/simpledemo.html b/simpledemo.html
index ca1f302..b297005 100644
--- a/simpledemo.html
+++ b/simpledemo.html
@@ -420,7 +420,7 @@
After doing this, you have to go down to the restart collapsible. There, restart the NetSpeaker and it should connect
to the configured WiFi.
If anything is wrong (either SSID or PSK wrong/typo, or the wifi's not available), the NetSpeaker opens an HotSpot
- with the SSID
and the PSK
!
+ with the SSID ...
and the PSK ...
!
SSID
+ 'http://' + document.cookie + '/api/v1/system/wifi/change?ssid='+newSSID+'&psk='+newPSK);http.send();">
Change
@@ -489,7 +489,7 @@