mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 22:51:30 -07:00
remove kv IDs
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"kv_namespaces": [
|
||||
{
|
||||
"binding": "RECFLARE_MATCH_PRESENCE",
|
||||
"id": "9f53f04b7dd244658d59f515a14748b6"
|
||||
"id": "local"
|
||||
}
|
||||
],
|
||||
"logpush": false,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"kv_namespaces": [
|
||||
{
|
||||
"binding": "RECFLARE_PLAYER_SETTINGS",
|
||||
"id": "d33a90014e904b0eac720bddcbe0b036"
|
||||
"id": "local"
|
||||
}
|
||||
],
|
||||
"upload_source_maps": true,
|
||||
|
||||
Reference in New Issue
Block a user