feat(ui): Playground liest Antworten vor (Sprachmodell, Stimme, Vorlesen-Knopf) (#1100)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg3Td16J38kAyDLzb39
This commit is contained in:
2026-11-17 20:15:24 +01:00
parent d21f8d871f
commit 3049d063ca
6 changed files with 320 additions and 17 deletions

View File

@ -147,6 +147,7 @@ pub fn routes() -> Router<Arc<AppState>> {
.route("/ui/keys/entfernen", post(verwaltung::key_remove))
.route("/ui/chat", get(chat::page))
.route("/ui/chat/senden", post(chat::send))
.route("/ui/chat/sprechen", post(chat::speak))
.route("/ui/chat/status", get(chat::load_status))
.route("/ui/chat.js", get(chat::script))
.route("/ui/auswertung", get(auswertung::page))
@ -363,7 +364,7 @@ pub(crate) fn secure(builder: axum::http::response::Builder) -> axum::http::resp
.header(
"content-security-policy",
"default-src 'none'; manifest-src 'self'; script-src 'self'; style-src 'self'; \
img-src 'self'; connect-src 'self'; form-action 'self'; frame-ancestors 'none'; \
img-src 'self'; media-src blob:; connect-src 'self'; form-action 'self'; frame-ancestors 'none'; \
base-uri 'none'",
)
.header("x-content-type-options", "nosniff")