Skip to content

Commit

Permalink
chore: use single bucket (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoLow authored Sep 27, 2023
1 parent 9cead4e commit 6a94069
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ DIRECTORY_CACHE_CONTROL = 'public, max-age=3600, s-maxage=14400'

[[r2_buckets]]
binding = "R2_BUCKET"
preview_bucket_name = "dist-dev"
bucket_name = "dist-dev"
preview_bucket_name = "dist-prod"
bucket_name = "dist-prod"

# Staging
[env.staging]
Expand All @@ -28,8 +28,8 @@ DIRECTORY_CACHE_CONTROL = 'public, max-age=3600, s-maxage=14400'

[[env.staging.r2_buckets]]
binding = "R2_BUCKET"
preview_bucket_name = "dist-dev"
bucket_name = "dist-staging"
preview_bucket_name = "dist-prod"
bucket_name = "dist-prod"

# Prod
[env.prod]
Expand Down

0 comments on commit 6a94069

Please sign in to comment.