site-mva-global-fret/cloudflare-worker/wrangler.toml
Serge RAKOTO HARRY-NAIVO c27a9ea805 chore(worker): wire up real KV ID + workers_dev=true + harden getNextRef
- wrangler.toml: workers_dev=true (= explicit routing on *.workers.dev)
- wrangler.toml: real KV ID c02656ba2206... after `wrangler kv namespace create WELCOME_KV`
- hubspot-proxy.js getNextRef: guard `!res.ok` before res.json() to surface HubSpot errors
- .gitignore: ignore .wrangler/ local cache dir

Discovered during Phase D2-D3 deploy + smoke testing.

Refs: WordPress \xe2\x86\x92 static migration plan, Phase B PR #3a.
2026-05-07 14:25:25 +02:00

20 lines
523 B
TOML

name = "mva-hubspot-proxy"
main = "hubspot-proxy.js"
compatibility_date = "2026-04-01"
workers_dev = true
# KV namespace — placeholder ID, populated at deploy time (Phase D3)
[[kv_namespaces]]
binding = "WELCOME_KV"
id = "c02656ba22064923ab1c6db06b0f4a56"
# Required secrets to configure via `wrangler secret put` :
# - HUBSPOT_TOKEN
# - RESEND_API_KEY
# - RESEND_FROM_EMAIL
# - RESEND_FROM_NAME
# - PARIS_DEPOT_ADDRESS
# - TURNSTILE_SECRET
# - SITE_URL
# (BREVO_* and EMAILJS_* deprecated — removed in this version)