mirror of
https://github.com/esphome/esphome.git
synced 2024-12-04 13:44:40 +01:00
web_server call setup_controller (#899)
This commit is contained in:
parent
706dc6d116
commit
a8e3521f3c
@ -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 New Issue
Block a user