Skip to content

Commit

Permalink
feat: encode bucket name in domain (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw authored May 16, 2024
1 parent fb5b12e commit 747d9e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Cloudflare worker allowing read access (with byte range request support) to R2 b

Current public buckets managed by this repo:

* [carpark.w3s.link](https://carpark.w3s.link/) - PRODUCTION
* [carpark-staging.w3s.link](https://carpark-staging.w3s.link/) - STAGING
* [carpark-prod-0.r2.w3s.link](https://carpark-prod-0.r2.w3s.link/) - PRODUCTION
* [carpark-staging-0.r2.w3s.link](https://carpark-staging-0.r2.w3s.link/) - STAGING

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ DEBUG = "true"
[env.carpark-production]
account_id = "fffa4b4363a7e5250af8357087263b3a"
r2_buckets = [{ binding = "BUCKET", bucket_name = "carpark-prod-0" }]
route = { pattern = "https://carpark.w3s.link/*", zone_id = "ae60d8f737317467ec666dc3851a6277" }
route = { pattern = "https://carpark-prod-0.r2.w3s.link/*", zone_id = "ae60d8f737317467ec666dc3851a6277" }

[env.carpark-production.vars]
DEBUG = "false"
Expand All @@ -22,4 +22,4 @@ DEBUG = "false"
[env.carpark-staging]
account_id = "fffa4b4363a7e5250af8357087263b3a"
r2_buckets = [{ binding = "BUCKET", bucket_name = "carpark-staging-0" }]
route = { pattern = "https://carpark-staging.w3s.link/*", zone_id = "ae60d8f737317467ec666dc3851a6277" }
route = { pattern = "https://carpark-staging-0.r2.w3s.link/*", zone_id = "ae60d8f737317467ec666dc3851a6277" }

0 comments on commit 747d9e5

Please sign in to comment.