fix issue due to removal of user web server

platformio
Thorsten von Eicken 5 years ago
parent cdb8054e65
commit 43ee67b25b
No known key found for this signature in database
GPG Key ID: C7F972A59D834B46
  1. 7
      src/cgi.c

@ -216,12 +216,17 @@ int ICACHE_FLASH_ATTR cgiMenu(HttpdConnData *connData) {
"\"Debug log\", \"/log.html\"," "\"Debug log\", \"/log.html\","
"\"Upgrade Firmware\", \"/flash.html\"," "\"Upgrade Firmware\", \"/flash.html\","
"\"Web Server\", \"/web-server.html\"" "\"Web Server\", \"/web-server.html\""
#ifdef WEBSERVER
"%s" "%s"
#endif
" ], " " ], "
"\"version\": \"%s\", " "\"version\": \"%s\", "
"\"name\": \"%s\"" "\"name\": \"%s\""
" }", " }",
WEB_UserPages(), esp_link_version, name); #ifdef WEBSERVER
WEB_UserPages(),
#endif
esp_link_version, name);
httpdSend(connData, buff, -1); httpdSend(connData, buff, -1);
return HTTPD_CGI_DONE; return HTTPD_CGI_DONE;

Loading…
Cancel
Save