Modify compression scheme - no longer compressing index.html due to issues serving compressed file directly with .send on esp32
Removed css from compression plugin - using CSS-in-JS in app Introduce favicon - add mapping for favicon.ico, was previously sending html response for requests for the favicon
This commit is contained in:
@ -51,6 +51,7 @@ void setup() {
|
||||
server.serveStatic("/css/", SPIFFS, "/www/css/");
|
||||
server.serveStatic("/fonts/", SPIFFS, "/www/fonts/");
|
||||
server.serveStatic("/app/", SPIFFS, "/www/app/");
|
||||
server.serveStatic("/favicon.ico", SPIFFS, "/www/favicon.ico");
|
||||
|
||||
// Serving all other get requests with "/www/index.htm"
|
||||
// OPTIONS get a straight up 200 response
|
||||
|
Reference in New Issue
Block a user