fix wrong index searched by the example
This commit is contained in:
parent
d61cc2d130
commit
431fbb2d90
|
@ -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()));
|
||||
|
|
Loading…
Reference in New Issue