-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
37 lines (35 loc) · 892 Bytes
/
wrangler.jsonc
File metadata and controls
37 lines (35 loc) · 892 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
30
31
32
33
34
35
36
37
{
"name": "claude-code-fallback",
"main": "src/index.ts",
"compatibility_date": "2024-01-01",
"compatibility_flags": ["nodejs_compat"],
"observability": {
"traces": {
"enabled": true,
// set tracing sampling rate to 5%
"head_sampling_rate": 1,
},
"logs": {
"enabled": true,
// set logging sampling rate to 60%
"head_sampling_rate": 1,
},
},
// KV namespace for storing provider configuration
// Run: npx wrangler kv:namespace create CONFIG
// Then replace the id below with the output
"kv_namespaces": [
{
"binding": "CONFIG_KV",
"id": "688e2d884dc34e238b4a298311102090",
},
],
"vars": {
"COOLDOWN_DURATION": "300",
// ADMIN_TOKEN should be set via Cloudflare Dashboard
// Workers & Pages -> Your Worker -> Settings -> Variables and Secrets
},
"dev": {
"port": 8787,
},
}