Browse Source

0.8.123

* add environment name to filename of coredump
pull/1663/head
lumapu 4 months ago
parent
commit
c154cddbb3
  1. 1
      src/CHANGES.md
  2. 1
      src/web/RestApi.h

1
src/CHANGES.md

@ -9,6 +9,7 @@
* add total power to index page (if multiple inverters are configured)
* show device name in html title #1639
* update AsyncWebserver library to `3.2.2`
* add environment name to filename of coredump
## 0.8.122 - 2024-05-23
* add button for donwloading coredump (ESP32 variants only)

1
src/web/RestApi.h

@ -369,6 +369,7 @@ class RestApi {
String filename = ah::getDateTimeStrFile(gTimezone.toLocal(mApp->getTimestamp()));
filename += "_v" + String(mApp->getVersion());
filename += "_" + String(ENV_NAME);
response->addHeader("Content-Description", "File Transfer");
response->addHeader("Content-Disposition", "attachment; filename=" + filename + "_coredump.bin");

Loading…
Cancel
Save