docs: purge remaining Upstash references and sync to DO storage

Drop /admin/migrate-from-upstash from public API docs, replace deprecated
UPSTASH_* env vars with ALLOWED_ORIGINS/ENVIRONMENT, update Worker
conventions to reflect DO bindings (env.CANVAS_ROOM) instead of Redis
client patterns, and rewrite system-architecture security/data-flow
sections to cover cookie+IP identity, transactionSync atomicity, WS
Origin allowlist, per-identity WS cap, and broadcast sequence numbers.
This commit is contained in:
tiennm99 committed 2026-05-11 15:59:50 +07:00
1 parent 4f02d30393
commit 9f50237a3c
5 files changed
+63 -86

No files matched your search

+5 -2
View File
@@ -1,2 +1,5 @@
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
# No external secrets required.
# Canvas + cooldown state live inside the CanvasRoom Durable Object (SQLite).
# Configurable Worker vars (set via wrangler.json or `wrangler secret put`):
# ALLOWED_ORIGINS - comma-separated WebSocket origin allowlist (empty = allow all)
# ENVIRONMENT - "production" enables fail-closed identity resolution