more stubs

This commit is contained in:
Devin Zuczek
2026-08-15 13:54:19 -04:00
parent 8ea0caa1e5
commit 11b037a2f1
67 changed files with 38566 additions and 2652 deletions
+16
View File
@@ -16,6 +16,22 @@
"cache": {
"enabled": false
},
// The JSON config files in `static/config/`, uploaded as Workers static assets rather
// than bundled into the script, so `/config/:name` serves whatever is published there:
// adding a config is dropping in a file (a bundled `import` can't do that — the
// bundler has to see every path at build time).
//
// `run_worker_first: true` because these are the WORKER'S data files, not a site.
// Without it the runtime answers any request whose path matches an asset before the
// Worker runs, which would both publish every config a second time at
// `/config/<name>.json` and put asset routing in front of the R2 routes below. With
// it, the Worker sees every request and the files are reachable only through
// `/config/:name`.
"assets": {
"binding": "ASSETS",
"directory": "./static",
"run_worker_first": true
},
// CDN binaries (signature blobs + room build data) are stored as R2 objects
// and streamed back by key. Keys are prefixed `sigs/` and `room/`.
"r2_buckets": [