Skip to content

Commit

Permalink
web_server call setup_controller (esphome#899)
Browse files Browse the repository at this point in the history
  • Loading branch information
OttoWinter authored Dec 4, 2019
1 parent 73f80a8 commit d26cd85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esphome/components/web_server/web_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d26cd85

Please sign in to comment.