From b178994bd6015352ab50866ed17f7207b27f2e89 Mon Sep 17 00:00:00 2001
From: Nic Limper
Date: Tue, 11 Jul 2023 13:58:03 +0200
Subject: [PATCH] apconfig option to turn off preview images
- option to turn preview images off in apconfig
- better browser cache of preview images
- bit of memory optimization on the contentmanager
---
ESP32_AP-Flasher/data/www/index.html | 8 ++++++++
ESP32_AP-Flasher/data/www/main.js | 6 ++++--
ESP32_AP-Flasher/include/tag_db.h | 1 +
ESP32_AP-Flasher/src/contentmanager.cpp | 19 ++++++++++---------
ESP32_AP-Flasher/src/makeimage.cpp | 3 ++-
ESP32_AP-Flasher/src/newproto.cpp | 10 +++++-----
ESP32_AP-Flasher/src/tag_db.cpp | 2 ++
ESP32_AP-Flasher/src/web.cpp | 5 ++++-
8 files changed, 36 insertions(+), 18 deletions(-)
diff --git a/ESP32_AP-Flasher/data/www/index.html b/ESP32_AP-Flasher/data/www/index.html
index e50820ba..21e5bccf 100644
--- a/ESP32_AP-Flasher/data/www/index.html
+++ b/ESP32_AP-Flasher/data/www/index.html
@@ -116,6 +116,14 @@ Latency will be around 40 seconds.">
+
+
+
+