update some naming conventions

This commit is contained in:
Devin Zuczek
2026-06-30 13:03:40 -04:00
parent b7aab05a92
commit 8b42c23764
27 changed files with 71 additions and 64 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
Image-delivery worker served on the `img` subdomain.
Images are stored as objects in the **`rec-img` R2 bucket** and streamed back by
Images are stored as objects in the **`recflare-img` R2 bucket** and streamed back by
key:
- `GET /` — service status `{ "service": "img", "status": "ok" }`.
@@ -37,7 +37,7 @@ node -e "const{generateKeyPairSync}=require('crypto');const{publicKey,privateKey
## One-time bucket setup
```sh
wrangler r2 bucket create rec-img
wrangler r2 bucket create recflare-img
```
## Seeding / uploading images
@@ -45,7 +45,7 @@ wrangler r2 bucket create rec-img
A starter image lives in `static/` so it can be uploaded to R2:
```sh
wrangler r2 object put rec-img/DefaultProfileImage.jpg \
wrangler r2 object put recflare-img/DefaultProfileImage.jpg \
--file=apps/img/static/DefaultProfileImage.jpg \
--content-type=image/jpeg --remote
```
+1 -1
View File
@@ -8,7 +8,7 @@
"r2_buckets": [
{
"binding": "IMAGES",
"bucket_name": "rec-img"
"bucket_name": "recflare-img"
}
],
"upload_source_maps": true,