web_server call setup_controller (#899)

This commit is contained in:
Otto Winter 2019-12-04 15:59:08 +01:00
parent 706dc6d116
commit a8e3521f3c
No known key found for this signature in database
GPG key ID: 48ED2DDB96D7682C

View file

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