mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 21:06:08 +01:00
bugfix
This commit is contained in:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -41,10 +41,10 @@ jobs:
|
||||
run: |
|
||||
mkdir espbinaries
|
||||
|
||||
- name: Zip web files
|
||||
run: |
|
||||
cd /home/runner/work/OpenEPaperLink/OpenEPaperLink/ESP32_AP-Flasher
|
||||
python gzip_wwwfiles.py
|
||||
# - name: Zip web files
|
||||
# run: |
|
||||
# cd /home/runner/work/OpenEPaperLink/OpenEPaperLink/ESP32_AP-Flasher
|
||||
# python gzip_wwwfiles.py
|
||||
|
||||
- name: Build firmware for Simple_AP
|
||||
run: |
|
||||
|
||||
Binary file not shown.
@@ -238,7 +238,7 @@ void init_web() {
|
||||
});
|
||||
|
||||
server.serveStatic("/current", *contentFS, "/current/").setCacheControl("max-age=604800");
|
||||
server.serveStatic("/tagtypes", *contentFS, "/tagtypes/").setCacheControl("max-age=604800");
|
||||
server.serveStatic("/tagtypes", *contentFS, "/tagtypes/").setCacheControl("max-age=600");
|
||||
server.serveStatic("/", *contentFS, "/www/").setDefaultFile("index.html");
|
||||
|
||||
server.on(
|
||||
|
||||
@@ -1072,8 +1072,8 @@ function GroupSortFilter() {
|
||||
|
||||
let grouping = document.querySelector('input[name="group"]:checked')?.value;
|
||||
if (grouping == undefined) {
|
||||
grouping = localStorage.getItem("grouping") + "";
|
||||
document.querySelector('input[name="group"][value="' + grouping + '"]').checked = true
|
||||
grouping = localStorage.getItem("grouping");
|
||||
if (grouping) document.querySelector('input[name="group"][value="' + grouping + '"]').checked = true
|
||||
} else {
|
||||
localStorage.setItem("grouping", grouping);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user