-
-
Notifications
You must be signed in to change notification settings - Fork 261
Expand file tree
/
Copy pathwrangler.json
More file actions
42 lines (42 loc) · 1.12 KB
/
Copy pathwrangler.json
File metadata and controls
42 lines (42 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "benbalter-github-com",
"main": "worker/index.js",
"assets": {
"directory": "./dist-astro",
"not_found_handling": "404-page",
"binding": "ASSETS",
"//": "Run the Worker first for page + API requests (Markdown content negotiation, /api/event). Static asset buckets are excluded via negative rules so they're served directly by the asset layer — smaller blast radius and no extra Worker hop for immutable assets.",
"run_worker_first": [
"/*",
"!/assets/*",
"!/pagefind/*",
"!/og/*",
"!/wp-content/*"
]
},
"analytics_engine_datasets": [
{
"binding": "ENGAGEMENT",
"dataset": "benbalter_engagement"
}
],
"workers_dev": false,
"preview_urls": false,
"compatibility_date": "2026-04-21",
"observability": {
"enabled": true,
"head_sampling_rate": 0.1,
"logs": {
"enabled": true,
"head_sampling_rate": 0.1,
"persist": true,
"invocation_logs": false
},
"traces": {
"enabled": false,
"persist": true,
"head_sampling_rate": 1
}
}
}