refactor(worker): Brevo+EmailJS ? Resend + remove cron + fix github.io URLs #3
1
cloudflare-worker/.gitignore
vendored
Normal file
1
cloudflare-worker/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.wrangler/
|
||||
@ -297,6 +297,9 @@ async function getNextRef(token) {
|
||||
limit: 100,
|
||||
}),
|
||||
});
|
||||
if (!res.ok) {
|
||||
throw new Error(`HubSpot search failed: ${res.status}`);
|
||||
}
|
||||
const data = await res.json();
|
||||
let maxNum = 0;
|
||||
(data.results || []).forEach(c => {
|
||||
|
||||
@ -1,11 +1,12 @@
|
||||
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 = "REPLACE_AT_DEPLOY_TIME"
|
||||
id = "c02656ba22064923ab1c6db06b0f4a56"
|
||||
|
||||
# Required secrets to configure via `wrangler secret put` :
|
||||
# - HUBSPOT_TOKEN
|
||||
|
||||
Loading…
Reference in New Issue
Block a user