mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 17:27:45 +01:00
web_server call setup_controller (#899)
This commit is contained in:
parent
706dc6d116
commit
a8e3521f3c
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