mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 17:05:21 +01:00
web_server call setup_controller (#899)
This commit is contained in:
parent
73f80a8ea1
commit
d26cd85306
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ void WebServer::set_js_url(const char *js_url) { this->js_url_ = js_url; }
|
||||||
|
|
||||||
void WebServer::setup() {
|
void WebServer::setup() {
|
||||||
ESP_LOGCONFIG(TAG, "Setting up web server...");
|
ESP_LOGCONFIG(TAG, "Setting up web server...");
|
||||||
|
this->setup_controller();
|
||||||
this->base_->init();
|
this->base_->init();
|
||||||
|
|
||||||
this->events_.onConnect([this](AsyncEventSourceClient *client) {
|
this->events_.onConnect([this](AsyncEventSourceClient *client) {
|
||||||
|
|
Loading…
Reference in a new issue