Skip to content

Commit

Permalink
trying to fix bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Mar 27, 2024
1 parent ca12801 commit 035ad46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/backend/nitro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const storage = {
bucket: {
driver: "cloudflareR2Binding",
base: "bucket",
binding: "BUCKET",
binding: "CR_BUCKET",
},
};

Expand Down
3 changes: 2 additions & 1 deletion packages/backend/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ compatibility_date = "2024-03-14"
# kv_namespaces = [
# { binding = "WORKFLOWS", id = "Workflows" }
# ]
account_id = "957152a16327bd0e5d72d085adb31b8d"

[[r2_buckets]]
binding = 'BUCKET' # <~ valid JavaScript variable name
binding = 'CR_BUCKET' # <~ valid JavaScript variable name
bucket_name = 'cr-bucket'


0 comments on commit 035ad46

Please sign in to comment.