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
+1 -1
View File
@@ -23,7 +23,7 @@
"kv_namespaces": [
{
"binding": "RECFLARE_MATCH_PRESENCE",
"id": "9f53f04b7dd244658d59f515a14748b6"
"id": "local"
}
],
"logpush": false,
+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
+1 -1
View File
@@ -18,7 +18,7 @@ Player-settings worker served on the `playersettings` subdomain.
## KV namespace
```sh
wrangler kv namespace create RECFLARE_PLAYER_SETTINGS # then put the id in wrangler.jsonc
wrangler kv namespace create RECFLARE_PLAYER_SETTINGS # then put the id in .env under RECFLARE_KV (see .env.example)
```
## Development
+1 -1
View File
@@ -8,7 +8,7 @@
"kv_namespaces": [
{
"binding": "RECFLARE_PLAYER_SETTINGS",
"id": "d33a90014e904b0eac720bddcbe0b036"
"id": "local"
}
],
"upload_source_maps": true,