Serve Swedish Piper voices from frontend origin
Build and publish frontend / publish (push) Successful in 1m34s

This commit is contained in:
Ein Anderssono
2026-10-16 07:07:48 +02:00
parent bdc63a588e
commit 94078686b4
11 changed files with 152 additions and 5 deletions
+6 -1
View File
@@ -46,6 +46,11 @@ grep -q 'sv_SE-nst-medium' piper-worker.js
grep -q 'new Worker(workerUrl)' piper-runtime.js
grep -q 'worker.js?v=' piper-runtime.js
grep -q 'worker.onmessageerror' piper-runtime.js
grep -q 'localPiperModelUrl' piper-worker.js
grep -q 'PIPER_MODEL_ORIGIN' piper-model-routing.mjs
grep -q '/tts/piper-wasm-v1/voices/' piper-model-routing.mjs
grep -q 'same-origin.*voice' README.md
grep -q 'ATTRIBUTION.txt' index.html
grep -q "SpeechRecognition || win.webkitSpeechRecognition" voice.js
grep -q "submitMessage(text, 'voice')" index.html
grep -q 'Spelets repliker läses alltid upp' index.html
@@ -80,6 +85,6 @@ if sed -n '/<section id="play"/,/^ <\/section>/p' index.html | grep '<button'
exit 1
fi
node --test tests/voice.test.cjs
node --test tests/*.test.cjs
echo 'Frontend source checks passed.'