Publish static service version as JSON
Build and publish static assets / publish (push) Successful in 2m28s
Build and publish static assets / publish (push) Successful in 2m28s
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user