BASE-96 · Admin

catalog & image control

← live site

Stored in sessionStorage. Same value as ADMIN_TOKEN set via wrangler secret put.

Upload image

Re-using a key overwrites the file in R2. The site picks up the new bytes on next cache refresh (~1 min).

Must start with products/, categories/, or hero/.

Catalog JSON

Edit prices, descriptions, sizes, image URLs, add/remove products. The Worker validates the shape before saving.