-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
59 lines (59 loc) · 1.36 KB
/
wrangler.jsonc
File metadata and controls
59 lines (59 loc) · 1.36 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "avatar-upload",
"main": "src/index.ts",
"compatibility_date": "2025-02-18",
// "compatibility_flags": [
// "nodejs_compat"
// ],
// "vars": {
// "MY_VAR": "my-variable"
// },
// "kv_namespaces": [
// {
// "binding": "MY_KV_NAMESPACE",
// "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
// }
// ],
"r2_buckets": [
{
"binding": "AVATAR_BUCKET",
"bucket_name": "avatar-storage",
"preview_bucket_name": "preview-avatar-storage"
},
{
"binding": "HEADER_BUCKET",
"bucket_name": "header-storage",
"preview_bucket_name": "preview-header-storage"
}
],
"vars": {
"ENVIRONMENT": "dev"
},
"env": {
"staging": {
"vars": {
"ENVIRONMENT": "staging"
}
},
"production": {
"vars": {
"ENVIRONMENT": "production"
}
}
}
// "d1_databases": [
// {
// "binding": "MY_DB",
// "database_name": "my-database",
// "database_id": ""
// }
// ],
// "ai": {
// "binding": "AI"
// },
// "observability": {
// "enabled": true,
// "head_sampling_rate": 1
// }
}