Skip to content

Commit 1646454

Browse files
author
Alan Shaw
committed
feat: encode bucket name in domain
1 parent fb5b12e commit 1646454

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Cloudflare worker allowing read access (with byte range request support) to R2 b
44

55
Current public buckets managed by this repo:
66

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

1010
## Contributing
1111

wrangler.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ DEBUG = "true"
1313
[env.carpark-production]
1414
account_id = "fffa4b4363a7e5250af8357087263b3a"
1515
r2_buckets = [{ binding = "BUCKET", bucket_name = "carpark-prod-0" }]
16-
route = { pattern = "https://carpark.w3s.link/*", zone_id = "ae60d8f737317467ec666dc3851a6277" }
16+
route = { pattern = "https://carpark-prod-0.r2.w3s.link/*", zone_id = "ae60d8f737317467ec666dc3851a6277" }
1717

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

0 commit comments

Comments
 (0)