Add project logo to authenticated web UI

This commit is contained in:
2026-08-29 21:25:25 +02:00
parent 96e5792273
commit 57a18be9bd
8 changed files with 582 additions and 6 deletions
+8
View File
@@ -426,6 +426,13 @@ static const httpd_uri_t s_app_js_uri = {
.user_ctx = (void *)(uintptr_t)WEB_UI_RESOURCE_APP_JS,
};
static const httpd_uri_t s_logo_uri = {
.uri = "/assets/logo.png",
.method = HTTP_GET,
.handler = asset_handler,
.user_ctx = (void *)(uintptr_t)WEB_UI_RESOURCE_LOGO_PNG,
};
static const httpd_uri_t *const s_uri_handlers[] = {
&s_root_uri,
&s_status_uri,
@@ -435,6 +442,7 @@ static const httpd_uri_t *const s_uri_handlers[] = {
&s_xterm_css_uri,
&s_addon_fit_js_uri,
&s_app_js_uri,
&s_logo_uri,
};
esp_err_t web_server_init(void)