-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
29 lines (29 loc) · 991 Bytes
/
Copy pathwrangler.jsonc
File metadata and controls
29 lines (29 loc) · 991 Bytes
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
{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "langref-search",
"compatibility_date": "2026-07-29",
"compatibility_flags": ["nodejs_compat"],
// Every invocation is logged, so the request URL — and therefore the query a
// search URL carries — reaches Workers Logs and is retained for Cloudflare's
// plan retention window. The Privacy Policy discloses this; keep the two in
// step when changing the sampling rate or the retention window.
"observability": {
"enabled": true,
"head_sampling_rate": 1
},
// The Cloudflare adapter always injects a KV session driver, so the binding
// is pinned here to keep deployments from provisioning new namespaces.
// The app never calls Astro.session, so this namespace stays empty.
"kv_namespaces": [
{
"binding": "SESSION",
"id": "da2f8c396f144018bd3cd2f6a381f292"
}
],
"routes": [
{
"pattern": "langrefsearch.com",
"custom_domain": true
}
]
}