Date: 2026-08-21 11:23 Summary: Fix localhost image-crop 404 by seeding local R2.
[question] 找不到 localhost 的网页 http://localhost:8787/zh/tools/image-crop
[try to solve]
Cause: only npm run dev (wrangler) was used; public/_pages was never seeded into local R2. Tool-page HTML is authoritative in R2, so without seed the URL 404s. The home page can still load from Assets. Ran npm run upload:r2:local (1540 objects); recheck of http://127.0.0.1:8787/zh/tools/image-crop returned 200 with How <ol>. Prefer daily npm run start:dev (includes build + seed).
[actions]
- npm run upload:r2:local