From abd1695554ea9d481e835ec0f27bb7a33811f5b6 Mon Sep 17 00:00:00 2001 From: anurag629 Date: Sun, 25 Oct 2026 23:34:53 +0530 Subject: [PATCH] chore(website): bind the docs chat's D1 database --- website/wrangler.jsonc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/wrangler.jsonc b/website/wrangler.jsonc index acd91dbd..fa6b6e4f 100644 --- a/website/wrangler.jsonc +++ b/website/wrangler.jsonc @@ -14,6 +14,11 @@ // Default html_handling (auto-trailing-slash): Starlight's URLs and // canonicals end in a slash, so /core/tools redirects to /core/tools/. }, + // Conversations, rate limits and turn locks for the docs chat + // (src/pages/api/chat.ts). The store creates its tables on first use. + "d1_databases": [ + { "binding": "CHATCOPS_DB", "database_name": "chatcops-website", "database_id": "91cae4fa-4483-4083-be68-b58ef69966c4" } + ], "observability": { "enabled": true, // Trace 5% of requests. From Oct 1, 2026 every span counts against the 20M