add rooms

This commit is contained in:
Devin Zuczek
2026-06-14 18:59:35 -04:00
parent 767dd47bab
commit 768ca2a0a3
64 changed files with 87267 additions and 787 deletions
+34
View File
@@ -0,0 +1,34 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "cdn",
"main": "src/cdn.app.ts",
"compatibility_date": "2025-09-20",
"compatibility_flags": [
"nodejs_compat"
],
"routes": [
{
"pattern": "cdn.rec.djdevin.net",
"custom_domain": 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": [
{
"binding": "CDN_ASSETS",
"bucket_name": "rec-cdn"
}
],
"upload_source_maps": true,
"observability": {
"logs": {
"enabled": true,
"head_sampling_rate": 1 // 100%
}
},
"vars": {
"ENVIRONMENT": "development", // overridden during deployment
"SENTRY_RELEASE": "unknown" // overridden during deployment
}
}