xtablo-source/apps/chat-worker/wrangler.toml
Arthur Belleville daa549a036 fix: use [[routes]] array syntax for custom domain in wrangler.toml
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:12:46 +02:00

26 lines
466 B
TOML

name = "xtablo-chat"
main = "src/index.ts"
compatibility_date = "2025-07-09"
[durable_objects]
bindings = [
{ name = "CHAT_ROOM", class_name = "ChatRoom" }
]
[[migrations]]
tag = "v1"
new_sqlite_classes = ["ChatRoom"]
[observability]
enabled = true
[vars]
SUPABASE_URL = "https://mhcafqvzbrrwvahpvvzd.supabase.co"
# Secrets (set via `wrangler secret put`):
# SUPABASE_SERVICE_ROLE_KEY
# JWT_SECRET
[[routes]]
pattern = "chat.xtablo.com"
custom_domain = true