-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwrangler.json
63 lines (63 loc) · 1.31 KB
/
wrangler.json
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "worker-email-list",
"main": "src/index.ts",
"compatibility_flags": ["nodejs_compat"],
"compatibility_date": "2025-02-03",
"vars": {
"ENVIRONMENT": "dev"
},
"d1_databases": [
{
"binding": "DB",
"database_name": "d1-email-list",
"database_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"migrations_dir": "drizzle"
}
],
"observability": {
"enabled": true,
"head_sampling_rate": 1
},
"unsafe": {
"bindings": [
{
"name": "RATE_LIMITER",
"type": "ratelimit",
"namespace_id": "1001",
"simple": {
"limit": 5,
"period": 60
}
}
]
},
"env": {
"prod": {
"vars": {
"ENVIRONMENT": "prod"
},
"d1_databases": [
{
"binding": "DB",
"database_name": "d1-email-list-prod",
"database_id": "ec0b4a2d-f1ee-4829-992d-b3d7341b506d",
"migrations_dir": "drizzle"
}
],
"unsafe": {
"bindings": [
{
"name": "RATE_LIMITER",
"type": "ratelimit",
"namespace_id": "1001",
"simple": {
"limit": 5,
"period": 60
}
}
]
}
}
}
}