mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 18:24:13 +01:00
Explicitly set language to English (#1073)
This commit is contained in:
parent
3fba3a5e2e
commit
fed37b48a1
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ float WebServer::get_setup_priority() const { return setup_priority::WIFI - 1.0f
|
||||||
void WebServer::handle_index_request(AsyncWebServerRequest *request) {
|
void WebServer::handle_index_request(AsyncWebServerRequest *request) {
|
||||||
AsyncResponseStream *stream = request->beginResponseStream("text/html");
|
AsyncResponseStream *stream = request->beginResponseStream("text/html");
|
||||||
std::string title = App.get_name() + " Web Server";
|
std::string title = App.get_name() + " Web Server";
|
||||||
stream->print(F("<!DOCTYPE html><html><head><meta charset=UTF-8><title>"));
|
stream->print(F("<!DOCTYPE html><html lang=\"en\"><head><meta charset=UTF-8><title>"));
|
||||||
stream->print(title.c_str());
|
stream->print(title.c_str());
|
||||||
stream->print(F("</title>"));
|
stream->print(F("</title>"));
|
||||||
#ifdef WEBSERVER_CSS_INCLUDE
|
#ifdef WEBSERVER_CSS_INCLUDE
|
||||||
|
|
Loading…
Reference in a new issue