forked from wrenn/wrenn
Fix static build: disable prerender for dynamic capsule detail route
The [id] route cannot be prerendered at build time since IDs are unknown. With adapter-static's index.html fallback, the route is handled client-side.
This commit is contained in:
1
frontend/src/routes/dashboard/capsules/[id]/+page.js
Normal file
1
frontend/src/routes/dashboard/capsules/[id]/+page.js
Normal file
@ -0,0 +1 @@
|
||||
export const prerender = false;
|
||||
Reference in New Issue
Block a user