Publish static service version as JSON
Build and publish static assets / publish (push) Successful in 2m28s

This commit is contained in:
Ein Anderssono
2026-10-16 07:35:54 +02:00
parent 43dd54ebfe
commit cc9ee73a5f
6 changed files with 15 additions and 2 deletions
+1
View File
@@ -12,6 +12,7 @@ Assets under `/static/piper-wasm-v1/` are served with `Cache-Control: public, ma
- `/static/piper-wasm-v1/onnx/` — ONNX Runtime WASM and ES module loader.
- `/static/piper-wasm-v1/piper/` — Piper phonemizer WASM and data.
- `/static/version.txt` — active deployment version, without long-lived caching.
- `/static/version.json` — active deployment version as `{"version":"<semver>"}`, generated from the same `VERSION` value used by the image and Helm chart and checked after deployment.
The frontend worker remains bundled with the frontend; it fetches these large assets from same-origin static URLs. The browser does not request models from an external host.