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:
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user