pub async fn serve_ui(uri: Uri) -> ResponseExpand description
Fallback handler for all paths not matched by the admin API.
Serves the embedded asset matching the request path with a MIME type
guessed from its extension; if no asset matches, falls back to
index.html so client-side routes resolve within the SPA. Returns
404 Not Found only when the UI bundle itself is absent from the binary.