mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Исправляем работу редактора конфигурации edit на esp32
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user