Enable pxmagic by default
This commit is contained in:
parent
0d287283d4
commit
94aeb19245
@ -9,7 +9,7 @@
|
|||||||
#ifdef WLED_ENABLE_PIXART
|
#ifdef WLED_ENABLE_PIXART
|
||||||
#include "html_pixart.h"
|
#include "html_pixart.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef WLED_ENABLE_PXMAGIC
|
#ifndef WLED_DISABLE_PXMAGIC
|
||||||
#include "html_pxmagic.h"
|
#include "html_pxmagic.h"
|
||||||
#endif
|
#endif
|
||||||
#include "html_cpal.h"
|
#include "html_cpal.h"
|
||||||
@ -370,7 +370,7 @@ void initServer()
|
|||||||
});
|
});
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WLED_ENABLE_PXMAGIC
|
#ifndef WLED_DISABLE_PXMAGIC
|
||||||
server.on("/pxmagic.htm", HTTP_GET, [](AsyncWebServerRequest *request){
|
server.on("/pxmagic.htm", HTTP_GET, [](AsyncWebServerRequest *request){
|
||||||
if (handleFileRead(request, "/pxmagic.htm")) return;
|
if (handleFileRead(request, "/pxmagic.htm")) return;
|
||||||
if (handleIfNoneMatchCacheHeader(request)) return;
|
if (handleIfNoneMatchCacheHeader(request)) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user