added favicon
This commit is contained in:
parent
42851b848b
commit
8d6ad7c1ec
BIN
data/favicon.ico
Normal file
BIN
data/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -182,6 +182,12 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
if (request->url() == "/favicon.ico")
|
||||
{
|
||||
request->send(LittleFS, request->url(), "image/x-icon");
|
||||
return;
|
||||
}
|
||||
|
||||
if (request->url() == "/" || request->url() == "/index.html")
|
||||
{
|
||||
request->send(LittleFS, "/index.html", String(), false, processor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user