fix wrong index searched by the example

This commit is contained in:
Me No Dev 2016-07-21 18:14:48 +03:00 committed by GitHub
parent d61cc2d130
commit 431fbb2d90
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ void setup(){
server.addHandler(&events);
server.addHandler(new SPIFFSEditor(http_username,http_password));
server.serveStatic("/", SPIFFS, "/").setDefaultFile("index.html");
server.serveStatic("/", SPIFFS, "/").setDefaultFile("index.htm");
server.on("/heap", HTTP_GET, [](AsyncWebServerRequest *request){
request->send(200, "text/plain", String(ESP.getFreeHeap()));