🎨 Renames webserver and websocket

This commit is contained in:
Rune Harlyk
2026-01-24 13:11:53 +01:00
committed by Rune Harlyk
parent eb8b83736a
commit f033e8b0ae
15 changed files with 131 additions and 136 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ static esp_err_t web_send(httpd_req_t* req, const WebAsset& asset) {
return httpd_resp_send(req, (const char*)asset.data, asset.len);
}
void mountStaticAssets(NativeServer& server) {
void mountStaticAssets(WebServer& server) {
for (size_t i = 0; i < WWW_ASSETS_COUNT; i++) {
const WebAsset* a = &WWW_ASSETS[i];
server.on(a->uri, HTTP_GET, [a](httpd_req_t* req) { return web_send(req, *a); });