mirror of
https://github.com/mfactory-osaka/ESPTimeCast.git
synced 2026-02-19 11:54:56 -05:00
Bug fixes
This commit is contained in:
@@ -697,7 +697,11 @@ void setupWebServer() {
|
||||
|
||||
server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) {
|
||||
Serial.println(F("[WEBSERVER] Request: /"));
|
||||
#ifdef ESP8266
|
||||
request->send_P(200, "text/html", index_html);
|
||||
#else
|
||||
request->send(200, "text/html", index_html);
|
||||
#endif
|
||||
});
|
||||
|
||||
server.on("/config.json", HTTP_GET, [](AsyncWebServerRequest *request) {
|
||||
|
||||
@@ -694,7 +694,11 @@ void setupWebServer() {
|
||||
|
||||
server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) {
|
||||
Serial.println(F("[WEBSERVER] Request: /"));
|
||||
#ifdef ESP8266
|
||||
request->send_P(200, "text/html", index_html);
|
||||
#else
|
||||
request->send(200, "text/html", index_html);
|
||||
#endif
|
||||
});
|
||||
|
||||
server.on("/config.json", HTTP_GET, [](AsyncWebServerRequest *request) {
|
||||
|
||||
Reference in New Issue
Block a user