From 95d308b326a981bce8732c0e07e95262439ebd56 Mon Sep 17 00:00:00 2001 From: Ein Anderssono Date: Fri, 16 Oct 2026 07:10:47 +0200 Subject: [PATCH] Serve Piper voice credits as readable text --- .gitea/workflows/publish.yaml | 1 + nginx/default.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 53e126a..bc6dcdb 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -45,6 +45,7 @@ jobs: test -s public/tts/piper-wasm-v1/voices/sv/sv_SE/lisa/medium/sv_SE-lisa-medium.onnx.json test -s public/tts/piper-wasm-v1/voices/sv/sv_SE/nst/medium/sv_SE-nst-medium.onnx test -s public/tts/piper-wasm-v1/voices/sv/sv_SE/nst/medium/sv_SE-nst-medium.onnx.json + test -s public/tts/piper-wasm-v1/voices/ATTRIBUTION.txt - name: Ensure Helm is available shell: bash diff --git a/nginx/default.conf b/nginx/default.conf index a2baa0a..ae92bbe 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -15,6 +15,7 @@ server { application/javascript js; application/json json; application/octet-stream onnx; + text/plain txt; } add_header Cache-Control "public, max-age=31536000, immutable" always; add_header Cross-Origin-Opener-Policy "same-origin" always;