mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 06:31:27 -07:00
34 lines
770 B
JSON
34 lines
770 B
JSON
{
|
|
"$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.example.com",
|
|
"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
|
|
}
|
|
} |