diff --git a/ConfigSettings.h b/ConfigSettings.h index 35a85f0..c619ef6 100644 --- a/ConfigSettings.h +++ b/ConfigSettings.h @@ -3,7 +3,7 @@ #ifndef configsettings_h #define configsettings_h -#define FW_VERSION "v2.2.3a" +#define FW_VERSION "v2.2.3" enum DeviceStatus { DS_OK = 0, DS_ERROR = 1, diff --git a/SomfyController.ino.esp32.bin b/SomfyController.ino.esp32.bin index 29c4d37..86e76dd 100644 Binary files a/SomfyController.ino.esp32.bin and b/SomfyController.ino.esp32.bin differ diff --git a/SomfyController.littlefs.bin b/SomfyController.littlefs.bin index 8504d71..ea9dbcf 100644 Binary files a/SomfyController.littlefs.bin and b/SomfyController.littlefs.bin differ diff --git a/Web.cpp b/Web.cpp index 275a775..23c9b23 100644 --- a/Web.cpp +++ b/Web.cpp @@ -1954,6 +1954,7 @@ void Web::begin() { }); server.on("/scanaps", []() { webServer.sendCORSHeaders(server); + if(server.method() == HTTP_OPTIONS) { server.send(200, "OK"); return; } int statusCode = 200; int n = WiFi.scanNetworks(); Serial.print("Scanned "); diff --git a/data/index.html b/data/index.html index fad959d..9806a7a 100644 --- a/data/index.html +++ b/data/index.html @@ -3,11 +3,11 @@ - - - + + + - +
diff --git a/data/index.js b/data/index.js index 2ebf689..2323147 100644 --- a/data/index.js +++ b/data/index.js @@ -1253,7 +1253,7 @@ var security = new Security(); class General { initialized = false; - appVersion = 'v2.2.3a'; + appVersion = 'v2.2.3'; reloadApp = false; init() { if (this.initialized) return;