1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 20:02:22 +01:00

web_server call setup_controller (#899)

This commit is contained in:
Otto Winter
2019-12-04 15:59:08 +01:00
committed by GitHub
parent 73f80a8ea1
commit d26cd85306

View File

@@ -64,6 +64,7 @@ void WebServer::set_js_url(const char *js_url) { this->js_url_ = js_url; }
void WebServer::setup() {
ESP_LOGCONFIG(TAG, "Setting up web server...");
this->setup_controller();
this->base_->init();
this->events_.onConnect([this](AsyncEventSourceClient *client) {