remove kv IDs

This commit is contained in:
Devin Zuczek
2026-06-30 13:54:21 -04:00
parent 8b42c23764
commit 87581ddbcf
7 changed files with 74 additions and 21 deletions
+5 -3
View File
@@ -4,12 +4,14 @@
"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` and set the id.
// 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": "9f53f04b7dd244658d59f515a14748b6"
"id": "local"
}
],
// Shared `recflare` DB (bound read-only here). The "local" placeholder is replaced