mirror of
https://github.com/wled/WLED.git
synced 2025-04-24 14:57:18 +00:00
Enable pxmagic by default
This commit is contained in:
parent
0d287283d4
commit
94aeb19245
@ -9,7 +9,7 @@
|
||||
#ifdef WLED_ENABLE_PIXART
|
||||
#include "html_pixart.h"
|
||||
#endif
|
||||
#ifdef WLED_ENABLE_PXMAGIC
|
||||
#ifndef WLED_DISABLE_PXMAGIC
|
||||
#include "html_pxmagic.h"
|
||||
#endif
|
||||
#include "html_cpal.h"
|
||||
@ -370,7 +370,7 @@ void initServer()
|
||||
});
|
||||
#endif
|
||||
|
||||
#ifdef WLED_ENABLE_PXMAGIC
|
||||
#ifndef WLED_DISABLE_PXMAGIC
|
||||
server.on("/pxmagic.htm", HTTP_GET, [](AsyncWebServerRequest *request){
|
||||
if (handleFileRead(request, "/pxmagic.htm")) return;
|
||||
if (handleIfNoneMatchCacheHeader(request)) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user