mirror of
https://github.com/wuzf/2fa.git
synced 2026-09-03 07:17:09 +08:00
Comment out all [[kv_namespaces]] in wrangler.toml (both production and development) so deploy.workers.cloudflare.com no longer creates an empty "2fa" KV. Updated deploy.js to handle fully commented KV config: search for existing "SECRETS_KV" namespace first (exact match only), create one if not found, then inject the binding block into wrangler.toml before deploying.