diff --git a/wled00/data/index.js b/wled00/data/index.js index dbbb1f3d..d1f0d58a 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -156,7 +156,7 @@ function loadBg(iUrl) let bg = document.getElementById('bg'); let img = document.createElement("img"); img.src = iUrl; - if (iUrl == "") { + if (iUrl == "" || iUrl === "https://picsum.photos/1920/1080") { var today = new Date(); for (var i=0; i
HTTP traffic is unencrypted. An attacker in the same network can intercept form data!
- Backup presets
-
Restore presets:
+ Backup presets
+
Restore presets:

Software Update


@@ -90,5 +90,6 @@
+ \ No newline at end of file diff --git a/wled00/file.cpp b/wled00/file.cpp index 0d0f59ca..59b11d90 100644 --- a/wled00/file.cpp +++ b/wled00/file.cpp @@ -376,7 +376,10 @@ void updateFSInfo() { //Un-comment any file types you need String getContentType(AsyncWebServerRequest* request, String filename){ - if(request->hasArg("download")) return "application/octet-stream"; + if(request->hasArg("download")) { + request->addHeader(F("Content-Disposition"), F("Attachment")); + return "application/octet-stream"; + } else if(filename.endsWith(".htm")) return "text/html"; else if(filename.endsWith(".html")) return "text/html"; else if(filename.endsWith(".css")) return "text/css"; diff --git a/wled00/html_settings.h b/wled00/html_settings.h index d317f69a..16f7e7ef 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -377,7 +377,7 @@ type="button" onclick="B()">Back // Autogenerated from wled00/data/settings_sec.htm, do not edit!! const char PAGE_settings_sec[] PROGMEM = R"=====( Misc Settings