Commit 2bebb57
fix: enable unoptimized images for static export on Cloudflare Pages
The /_next/image/ optimization API doesn't exist in static export mode.
Set images.unoptimized when EXPORT_MODE=static or UNOPTIMIZED_IMAGES=true
so Next.js serves images directly instead of routing through the API.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1d4b26d commit 2bebb57
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments