mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-01-28 01:32:18 +01:00
Change JSON MIME type to application/json (#311)
This commit is contained in:
committed by
Me No Dev
parent
1078e9166b
commit
fc71230a31
@@ -477,7 +477,7 @@ void SPIFFSEditor::handleRequest(AsyncWebServerRequest *request){
|
||||
dir.close();
|
||||
#endif
|
||||
output += "]";
|
||||
request->send(200, "text/json", output);
|
||||
request->send(200, "application/json", output);
|
||||
output = String();
|
||||
}
|
||||
else if(request->hasParam("edit") || request->hasParam("download")){
|
||||
|
||||
Reference in New Issue
Block a user