mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-27 07:58:55 -07:00
Add hosted Studio template distribution (#139)
This commit is contained in:
@@ -50,6 +50,22 @@ just migrate -F studio # remote
|
||||
just migrate -F studio -- --local # dev db
|
||||
```
|
||||
|
||||
## Launcher template distribution
|
||||
|
||||
Set `STUDIO_DISTRIBUTION_MANIFEST` to an R2 catalog key to enable the optional
|
||||
PatchKit-compatible `/1/apps/:secret/*` routes. The catalog and ZIP parts are
|
||||
generated by `studio-patch-2026/build_distribution.py`; upload all parts through
|
||||
the existing CDN before publishing the catalog. No template bytes or operator
|
||||
configuration belong in this repository.
|
||||
|
||||
The catalog names the template application's SHA-256 identifier, latest release,
|
||||
HTTPS multipart content URL, file hashes, and download-chunk hashes. Optional
|
||||
legacy summaries supply comparison hashes without making old templates
|
||||
downloadable. The application identifier scopes requests; it is not an access
|
||||
credential. Missing or disabled catalogs return 404. Invalid catalogs or catalogs
|
||||
larger than 8 MiB return 503; responses use `Cache-Control: no-store` so a corrected
|
||||
publication can be retried immediately.
|
||||
|
||||
## Editor build limits
|
||||
|
||||
`GET /cloud-builds/get-rate-limit-config` returns the editor's
|
||||
|
||||
Reference in New Issue
Block a user