Skip to content

Commit

Permalink
/edit download file and delete confirmation message
Browse files Browse the repository at this point in the history
ready for new release
  • Loading branch information
cotestatnt committed Jan 9, 2024
1 parent a07ffce commit 210e1a6
Show file tree
Hide file tree
Showing 12 changed files with 1,028 additions and 819 deletions.
21 changes: 21 additions & 0 deletions built-in-webpages/edit/edit.min.htm

Large diffs are not rendered by default.

184 changes: 184 additions & 0 deletions built-in-webpages/edit/edit.min.htm.c

Large diffs are not rendered by default.

Binary file added built-in-webpages/edit/edit.min.htm.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions built-in-webpages/setup/all.htm

Large diffs are not rendered by default.

438 changes: 219 additions & 219 deletions built-in-webpages/setup/all.htm.c

Large diffs are not rendered by default.

Binary file modified built-in-webpages/setup/all.htm.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/customHTML/.vscode/arduino.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"board": "esp32:esp32:esp32s3",
"port": "COM23",
"port": "COM3",
"sketch": "customHTML.ino",
"configuration": "JTAGAdapter=default,PSRAM=disabled,FlashMode=qio,FlashSize=4M,LoopCore=1,EventsCore=1,USBMode=hwcdc,CDCOnBoot=default,MSCOnBoot=default,DFUOnBoot=default,UploadMode=default,PartitionScheme=default,CPUFreq=240,UploadSpeed=921600,DebugLevel=none,EraseFlash=none"
}
420 changes: 210 additions & 210 deletions examples/customHTML/.vscode/c_cpp_properties.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=AsyncEspFsWebserver
version=1.0.4
version=1.0.5
author=Tolentino Cotesta <[email protected]>
maintainer=Tolentino Cotesta <[email protected]>
sentence=ESPAsyncWebserver with steroids
Expand Down
2 changes: 1 addition & 1 deletion src/AsyncFsWebServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ void AsyncFsWebServer::handleFileEdit(AsyncWebServerRequest *request) {
if(!request->authenticate(m_pageUser, m_pagePswd))
return request->requestAuthentication();
}
AsyncWebServerResponse *response = request->beginResponse_P(200, "text/html", (uint8_t*)_acedit_htm, sizeof(_acedit_htm));
AsyncWebServerResponse *response = request->beginResponse_P(200, "text/html", (uint8_t*)_acedit_min_htm, sizeof(_acedit_min_htm));
response->addHeader("Content-Encoding", "gzip");
request->send(response);
}
Expand Down
336 changes: 170 additions & 166 deletions src/edit_htm.h

Large diffs are not rendered by default.

438 changes: 219 additions & 219 deletions src/setup_htm.h

Large diffs are not rendered by default.

0 comments on commit 210e1a6

Please sign in to comment.