From daa549a036054df99dd73ea6aa39643b0001e6e0 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Sat, 11 Apr 2026 16:12:46 +0200 Subject: [PATCH] fix: use [[routes]] array syntax for custom domain in wrangler.toml Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/chat-worker/wrangler.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/chat-worker/wrangler.toml b/apps/chat-worker/wrangler.toml index 522aa9d..8e63f10 100644 --- a/apps/chat-worker/wrangler.toml +++ b/apps/chat-worker/wrangler.toml @@ -21,4 +21,6 @@ SUPABASE_URL = "https://mhcafqvzbrrwvahpvvzd.supabase.co" # SUPABASE_SERVICE_ROLE_KEY # JWT_SECRET -route = { pattern = "chat.xtablo.com", custom_domain = true } +[[routes]] +pattern = "chat.xtablo.com" +custom_domain = true