irongit
henslee/wrangler.jsonc
23 lines909 B
1{
2 "$schema": "node_modules/wrangler/config-schema.json",
3 "name": "henslee",
4 "compatibility_date": "2026-06-23",
5 // Turnstile gate in front of "/". Everything else is plain static assets.
6 "main": "worker/index.ts",
7 "assets": {
8 // `npm run build` produces ./dist, which is uploaded on `wrangler deploy`.
9 "directory": "./dist",
10 "binding": "ASSETS",
11 // Only these paths hit the worker; all other requests are served directly.
12 "run_worker_first": ["/", "/index", "/index.html", "/gate", "/gate.html", "/__gate/*", "/__stats/*", "/__ai/*"]
13 },
14 "vars": {
15 // Public Turnstile site key (widget "henslee.me gate"). The matching
16 // secret is the TURNSTILE_SECRET worker secret; see secrets.md.
17 "TURNSTILE_SITE_KEY": "0x4AAAAAAFPnyeK8EeCwEsKS"
18 },
19 // Worker logs (gate.* events) show up under Workers Logs in the dashboard.
20 "observability": {
21 "enabled": true
22 }
23}