Commit 9a2a820
fix: add prerender entry pages for SPA static function cache
The SPA requires __tsr/staticServerFnCache/ entries generated during
prerender for each route's static server functions. The root page (/)
is a JS redirect with no crawlable links, so even with crawlLinks
enabled, only / was prerendered.
Add /en and /zh as explicit entry points so the prerender crawls all
doc pages from sidebar navigation and generates complete static
function cache entries.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2b6bbd9 commit 9a2a820
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments