name = "planb-email"
main = "src/index.js"
compatibility_date = "2026-06-03"

[vars]
BRAND_NAME = "Plan-B"
SITE_URL = "https://plan-b.kammergut.example"
UNSUBSCRIBE_URL = "https://plan-b.kammergut.example/unsubscribe"

# Set these as Worker secrets before deploying:
# npx wrangler secret put RESEND_API_KEY --config worker/wrangler.toml
# npx wrangler secret put FROM_EMAIL --config worker/wrangler.toml
# Optional:
# npx wrangler secret put REPLY_TO_EMAIL --config worker/wrangler.toml
