mirror of
https://github.com/wled/WLED.git
synced 2025-07-13 13:56:35 +00:00
Remove /iro.js and /rangetouch.js
This commit is contained in:
parent
1140f5f6cb
commit
201daf8ff3
@ -380,16 +380,6 @@ const char PAGE_dmxmap[] PROGMEM = R"=====()=====";
|
|||||||
file: "favicon.ico",
|
file: "favicon.ico",
|
||||||
name: "favicon",
|
name: "favicon",
|
||||||
method: "binary",
|
method: "binary",
|
||||||
},
|
|
||||||
{
|
|
||||||
file: "iro.js",
|
|
||||||
name: "iroJs",
|
|
||||||
method: "gzip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
file: "rangetouch.js",
|
|
||||||
name: "rangetouchJs",
|
|
||||||
method: "gzip"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"wled00/html_other.h"
|
"wled00/html_other.h"
|
||||||
|
@ -254,22 +254,6 @@ void initServer()
|
|||||||
size_t len, bool final) {handleUpload(request, filename, index, data, len, final);}
|
size_t len, bool final) {handleUpload(request, filename, index, data, len, final);}
|
||||||
);
|
);
|
||||||
|
|
||||||
server.on("/iro.js", HTTP_GET, [](AsyncWebServerRequest *request){
|
|
||||||
if (handleIfNoneMatchCacheHeader(request)) return;
|
|
||||||
AsyncWebServerResponse *response = request->beginResponse_P(200, "application/javascript", iroJs, iroJs_length);
|
|
||||||
response->addHeader(FPSTR(s_content_enc),"gzip");
|
|
||||||
setStaticContentCacheHeaders(response);
|
|
||||||
request->send(response);
|
|
||||||
});
|
|
||||||
|
|
||||||
server.on("/rangetouch.js", HTTP_GET, [](AsyncWebServerRequest *request){
|
|
||||||
if (handleIfNoneMatchCacheHeader(request)) return;
|
|
||||||
AsyncWebServerResponse *response = request->beginResponse_P(200, "application/javascript", rangetouchJs, rangetouchJs_length);
|
|
||||||
response->addHeader(FPSTR(s_content_enc),"gzip");
|
|
||||||
setStaticContentCacheHeaders(response);
|
|
||||||
request->send(response);
|
|
||||||
});
|
|
||||||
|
|
||||||
createEditHandler(correctPIN);
|
createEditHandler(correctPIN);
|
||||||
|
|
||||||
#ifndef WLED_DISABLE_OTA
|
#ifndef WLED_DISABLE_OTA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user