// The OAuth app's Worker settings (npx wrangler deploy -c app-wrangler.jsonc, next to app.js).
// Replace the two values in <…> first: the KV namespace id that `npx wrangler kv namespace create ev-mailchimp-tokens`
// printed, and the app's own address (the redirect URI registered in Mailchimp is this address + /oauth/callback).
// The secrets are set with `npx wrangler secret put` (the docs page lists them); they never go in this file.
{
  "name": "ev-mailchimp-app",
  "main": "app.js",
  "compatibility_date": "2026-10-01",
  "workers_dev": true,
  "kv_namespaces": [{ "binding": "TOKENS", "id": "<the KV namespace id>" }],
  "vars": { "APP_URL": "https://ev-mailchimp-app.<your-subdomain>.workers.dev", "EV_REGION": "us" }
}
