isle-portable/extensions/src/multiplayer/server/wrangler.toml
Christian Semmler 0f2ec86f47
Add public room registry and extract shared CORS headers
Add RoomRegistry durable object for tracking public rooms with
stale-entry cleanup. GameRoom notifies the registry on connect,
disconnect, and creation. Extract duplicated CORS_HEADERS to a
shared cors.ts module and remove dead OPTIONS handlers from DOs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 17:41:40 -07:00

23 lines
401 B
TOML

name = "isle-relay"
main = "relay.ts"
compatibility_date = "2024-01-01"
workers_dev = false
preview_urls = false
[durable_objects]
bindings = [
{ name = "GAME_ROOM", class_name = "GameRoom" },
{ name = "ROOM_REGISTRY", class_name = "RoomRegistry" }
]
[vars]
MAX_PLAYERS_CEILING = 64
[[migrations]]
tag = "v1"
new_classes = ["GameRoom"]
[[migrations]]
tag = "v2"
new_classes = ["RoomRegistry"]