mirror of
https://github.com/tiennm99/rplace.git
synced 2026-10-11 03:13:48 +00:00
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.
6 lines
349 B
Bash
6 lines
349 B
Bash
# 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
|