From a54651a96149ef410ec265687489136a6d0b004c Mon Sep 17 00:00:00 2001 From: cjkas Date: Thu, 12 Mar 2026 14:17:34 +0100 Subject: [PATCH] update version --- data-src/appversion | 2 +- data-src/index.html | 8 ++++---- data-src/index.js | 2 +- minify.py | 42 +++++++++++++++++++++--------------------- src/ConfigSettings.h | 2 +- 5 files changed, 28 insertions(+), 28 deletions(-) diff --git a/data-src/appversion b/data-src/appversion index 48a6b50..752a79e 100644 --- a/data-src/appversion +++ b/data-src/appversion @@ -1 +1 @@ -2.4.7 \ No newline at end of file +2.4.8 \ No newline at end of file diff --git a/data-src/index.html b/data-src/index.html index fda0670..20ef11d 100644 --- a/data-src/index.html +++ b/data-src/index.html @@ -8,9 +8,9 @@ - - - + + + @@ -114,7 +114,7 @@ rel="apple-touch-startup-image"> - +
diff --git a/data-src/index.js b/data-src/index.js index 2a70854..89f1aea 100644 --- a/data-src/index.js +++ b/data-src/index.js @@ -1270,7 +1270,7 @@ var security = new Security(); class General { initialized = false; - appVersion = 'v2.4.7'; + appVersion = 'v2.4.8'; reloadApp = false; init() { if (this.initialized) return; diff --git a/minify.py b/minify.py index ed3dfe2..a5c581c 100644 --- a/minify.py +++ b/minify.py @@ -98,20 +98,20 @@ def minify_css(text: str) -> str: return text.strip() -def minify_js(text: str) -> str: - """ - Light JS minifier – removes comments and collapses whitespace. - For heavy minification install terser and the script will use it - automatically (see _try_terser below). - """ - # Remove single-line comments (careful with URLs – :// ) - text = re.sub(r"(? str: +# """ +# Light JS minifier – removes comments and collapses whitespace. +# For heavy minification install terser and the script will use it +# automatically (see _try_terser below). +# """ +# # Remove single-line comments (careful with URLs – :// ) +# text = re.sub(r"(? str: @@ -133,13 +133,13 @@ def minify_svg(text: str) -> str: MINIFIERS = { - ".html": minify_html, - ".htm": minify_html, - ".css": minify_css, - ".js": minify_js, - ".json": minify_json, - ".svg": minify_svg, - ".xml": minify_svg, # same approach works for generic XML + # ".html": minify_html, + # ".htm": minify_html, + # ".css": minify_css, + # ".js": minify_js, + # ".json": minify_json, + # ".svg": minify_svg, + # ".xml": minify_svg, # same approach works for generic XML } diff --git a/src/ConfigSettings.h b/src/ConfigSettings.h index 350db96..50314db 100644 --- a/src/ConfigSettings.h +++ b/src/ConfigSettings.h @@ -3,7 +3,7 @@ #ifndef configsettings_h #define configsettings_h #include "WResp.h" -#define FW_VERSION "v2.4.7" +#define FW_VERSION "v2.4.8" enum class conn_types_t : byte { unset = 0x00, wifi = 0x01,