Compare commits

...
2 Commits
Author SHA1 Message Date
Gitea Actions 5404428bad Release 0.1.45 [auto-version-bump] 2026-10-16 06:55:50 +02:00
Ein Anderssono 0ecae41a78 Serve Piper worker with JavaScript MIME type
Build and publish frontend / publish (push) Successful in 51s
2026-10-16 06:55:24 +02:00
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
0.1.44
0.1.45
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: ai-spel-frontend
description: Static web frontend for the Swedish life simulator
type: application
version: 0.1.44
appVersion: "0.1.44"
version: 0.1.45
appVersion: "0.1.45"
+4 -1
View File
@@ -10,7 +10,10 @@ server {
}
location ^~ /tts/piper-wasm-v1/ {
types { application/wasm wasm; }
types {
application/wasm wasm;
application/javascript js;
}
add_header Cache-Control "public, max-age=31536000, immutable" always;
try_files $uri =404;
}
+1
View File
@@ -8,6 +8,7 @@ grep -q '<script src="/voice.js?v=__FRONTEND_VERSION__"></script>' index.html
grep -q '<script src="/piper-runtime.js?v=__FRONTEND_VERSION__"></script>' index.html
grep -q 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0' nginx/default.conf
grep -q 'Cross-Origin-Embedder-Policy "require-corp"' nginx/default.conf
grep -q 'application/javascript js;' nginx/default.conf
grep -q "request('/version')" index.html
grep -Fq "credentials: 'same-origin'" index.html
grep -q 'id="dialogue" aria-label="Dialoghistorik" role="log" aria-live="polite"' index.html