Commit cfbc937
fix: ignore 404s for image files during SSR prerendering
Lesson HTML embeds <img src="waves.png"> relative URLs. Vite rewrites
these client-side but not during SSR prerendering, so the crawler
reports a 404. Add handleHttpError to suppress errors for image assets.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 1bbda18 commit cfbc937
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
10 | 19 | | |
11 | 20 | | |
0 commit comments