To install dependencies:
bun installTo start a development server:
bun devTo run for production:
bun startThis project was created using bun init in bun v1.3.1. Bun is a fast all-in-one JavaScript runtime.
Set the following secrets if you want Customer.io identify & event tracking enabled:
wrangler secret put CUSTOMER_IO_SITE_ID
wrangler secret put CUSTOMER_IO_API_KEY
# Optional: defaults to US. Set to `eu` for the EU data center.
wrangler secret put CUSTOMER_IO_REGIONWithout these secrets, the Worker automatically skips Customer.io calls so local development continues to work.