Move the web assets and templates under v2/web, drop the old src/, lib/ and scripts, and update firmware, tools, docs and db files. Add the audio page, LED test scripts and VPN autoconnect script. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
12 lines
388 B
C
12 lines
388 B
C
#pragma once
|
|
|
|
#include "esp_err.h"
|
|
#include "esp_http_server.h"
|
|
|
|
// Register /, /audio, /static/* and /favicon.ico. Files come from the web UI blob embedded in the
|
|
// firmware (gzipped, sent with Content-Encoding: gzip).
|
|
esp_err_t web_register(httpd_handle_t server);
|
|
|
|
// Send one of the top-level pages (e.g. "settings.html")
|
|
esp_err_t web_send_page(httpd_req_t *req, const char *name);
|