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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {