This commit is contained in:
ok-home
2023-09-26 20:42:09 +07:00
parent 78d50f997f
commit 08e8275540
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ static httpd_handle_t start_webserver(void)
// Start the httpd server
ESP_LOGI(TAG, "Starting server on port: '%d'", config.server_port);
if (httpd_start(&server, &config) == ESP_OK) {
// Registering the ws handler
/****************** Registering the ws handler ****************/
ESP_LOGI(TAG, "Registering URI handlers");
//register ota_ws handler
ota_ws_register_uri_handler(server);

View File

@@ -28,7 +28,7 @@ static httpd_handle_t start_webserver(void)
// Start the httpd server
ESP_LOGI(TAG, "Starting server on port: '%d'", config.server_port);
if (httpd_start(&server, &config) == ESP_OK) {
// Registering the ws handler
/****************** Registering the ws handler ****************/
ESP_LOGI(TAG, "Registering URI handlers");
//register ota_ws handler
ota_ws_register_uri_handler(server);