Files
recflare/apps/match/wrangler.jsonc
T
Devin Zuczek 87581ddbcf remove kv IDs
2026-06-30 13:54:21 -04:00

39 lines
1.1 KiB
JSON

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "match",
"main": "src/match.app.ts",
"compatibility_date": "2025-09-20",
"compatibility_flags": ["nodejs_compat"],
// Per-player presence store (room instance the player is currently in). Create
// with `wrangler kv namespace create RECFLARE_MATCH_PRESENCE`, then put the id in
// the root .env under RECFLARE_KV (see .env.example) — it is spliced into the
// "local" placeholder below at deploy time.
"kv_namespaces": [
{
"binding": "RECFLARE_MATCH_PRESENCE",
"id": "local"
}
],
// Shared `recflare` DB (bound read-only here). The "local" placeholder is replaced
// with the real id from RECFLARE_D1 (see .env) at deploy time.
"d1_databases": [
{
"binding": "DB",
"database_name": "recflare",
"database_id": "local"
}
],
"logpush": false,
"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
}
}