From 522963ab7f61d67bee5a53816cad3375d70e3773 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Tue, 21 Apr 2026 10:49:30 +0700 Subject: [PATCH] =?UTF-8?q?chore(wrangler):=20drop=20preview=20KV=20namesp?= =?UTF-8?q?ace=20=E2=80=94=20production-only=20project?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No preview deploy stage is used, so the preview_id binding (and its companion create comment) just advertises a namespace that never sees traffic. Keep wrangler.toml narrowly scoped to what we actually deploy. --- wrangler.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wrangler.toml b/wrangler.toml index aa7a995..bfcea54 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -8,14 +8,12 @@ compatibility_date = "2025-10-01" MODULES = "util,wordle,loldle,misc,trading,lolschedule" # KV namespace holding all module state. Each module auto-prefixes its keys via createStore(). -# Create with: +# Production-only — no preview namespace. Create with: # wrangler kv namespace create miti99bot-kv -# wrangler kv namespace create miti99bot-kv --preview -# then paste the returned IDs below. +# then paste the returned id below. [[kv_namespaces]] binding = "KV" id = "f7f190fcb2fa42eb84a05542911334b0" -preview_id = "0ad72e1c34174f8cadf828e62db099a8" # D1 database for module persistent storage. Each module prefixes its tables # with `{moduleName}_` (e.g. `trading_trades`). Migrations are applied via