Browse Source

Add files via upload

Configuration added for SML/OBIS
pull/1080/head
oberfritze 2 years ago
committed by GitHub
parent
commit
5d7c12fe91
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/web/web.h

3
src/web/web.h

@ -434,7 +434,7 @@ class Web {
}
void showSave(AsyncWebServerRequest *request) {
DPRINTLN(DBG_INFO, F("showSave"));
DPRINTLN(DBG_VERBOSE, F("showSave"));
checkProtection(request);
@ -597,6 +597,7 @@ class Web {
mConfig->plugin.display.disp_busy = (mConfig->plugin.display.type < 10) ? DEF_PIN_OFF : request->arg("disp_bsy").toInt();
mApp->saveSettings((request->arg("reboot") == "on"));
AsyncWebServerResponse *response = request->beginResponse_P(200, F("text/html; charset=UTF-8"), save_html, save_html_len);
response->addHeader(F("Content-Encoding"), "gzip");
request->send(response);

Loading…
Cancel
Save