Skip to content

Commit 5cf9e88

Browse files
committed
fix: add r2 bucket binding
1 parent 1637ac7 commit 5cf9e88

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

wrangler.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ send_metrics = false
77

88
build = { command = "npm install && node build.js" }
99

10-
kv_namespaces = [
11-
{ binding = "CONFIGS", id = "bb91e12a65a8462282396f32e63406f1", preview_id = "bb91e12a65a8462282396f32e63406f1" }
10+
r2_buckets = [
11+
{ binding = "IMAGE_BUCKET", bucket_name = "rum-bundler-images", preview_bucket_name = "" }
1212
]
1313

1414
[vars]
@@ -21,8 +21,8 @@ ENVIRONMENT = "dev"
2121
[env.ci]
2222
name = "rum-proxy-ci"
2323

24-
kv_namespaces = [
25-
{ binding = "CONFIGS", id = "bb91e12a65a8462282396f32e63406f1", preview_id = "bb91e12a65a8462282396f32e63406f1" }
24+
r2_buckets = [
25+
{ binding = "IMAGE_BUCKET", bucket_name = "rum-bundler-images", preview_bucket_name = "" }
2626
]
2727

2828
[env.ci.vars]
@@ -35,8 +35,8 @@ ENVIRONMENT = "ci"
3535
[env.production]
3636
name = "rum-proxy-prod"
3737

38-
kv_namespaces = [
39-
{ binding = "CONFIGS", id = "bb91e12a65a8462282396f32e63406f1", preview_id = "bb91e12a65a8462282396f32e63406f1" }
38+
r2_buckets = [
39+
{ binding = "IMAGE_BUCKET", bucket_name = "rum-bundler-images", preview_bucket_name = "" }
4040
]
4141

4242
[env.production.vars]

0 commit comments

Comments
 (0)