fix issue where polaroids come in with a different URL, pull from other bucket

This commit is contained in:
Devin Zuczek
2026-08-04 14:08:39 -04:00
parent db003d54ef
commit dbc6d15ef5
4 changed files with 86 additions and 4 deletions
+6
View File
@@ -6,6 +6,12 @@ export type Env = SharedHonoEnv & {
DB: D1Database
/** R2 bucket holding the served image objects, keyed by filename. */
IMAGES: R2Bucket
/**
* Shared `recflare-cdn` bucket. Only its `image/` prefix is read here: images
* uploaded through the `storage` worker are stored extensionless under
* `image/<date>/<uuid>` and requested from this worker by the bare name.
*/
CDN_ASSETS: R2Bucket
/** Static assets (fallback images) served from `static/`. */
ASSETS: Fetcher
/**