{ "$schema": "node_modules/wrangler/config-schema.json", "name": "henslee", "compatibility_date": "2026-06-23", // Turnstile gate in front of "/". Everything else is plain static assets. "main": "worker/index.ts", "assets": { // `npm run build` produces ./dist, which is uploaded on `wrangler deploy`. "directory": "./dist", "binding": "ASSETS", // Only these paths hit the worker; all other requests are served directly. "run_worker_first": ["/", "/index", "/index.html", "/gate", "/gate.html", "/__gate/*", "/__stats/*", "/__ai/*"] }, "vars": { // Public Turnstile site key (widget "henslee.me gate"). The matching // secret is the TURNSTILE_SECRET worker secret; see secrets.md. "TURNSTILE_SITE_KEY": "0x4AAAAAAFPnyeK8EeCwEsKS" }, // Worker logs (gate.* events) show up under Workers Logs in the dashboard. "observability": { "enabled": true } }