Исправляем работу редактора конфигурации edit на esp32

This commit is contained in:
2022-10-30 21:40:11 +03:00
parent 3cef0bb1d3
commit ce23ab180f

View File

@@ -98,6 +98,7 @@ void standWebServerInit() {
}
bool handleFileRead(String path) {
path = "/" + path;
if (path.endsWith("/")) path += "index.html";
String contentType = getContentType(path);
String pathWithGz = path + ".gz";
@@ -211,7 +212,7 @@ void handleFileList() {
entry.close();
}
output += "]";
Serial.println(output);
//Serial.println(output);
HTTP.send(200, "text/json", output);
}