Skip to content

Commit cd2659b

Browse files
milanoftheclaude
andcommitted
Enable prerendering to fix 404 on root page
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 310537d commit cd2659b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/routes/+layout.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const prerender = true;

svelte.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ const config = {
1919
},
2020
prerender: {
2121
handleHttpError: 'warn',
22-
handleMissingId: 'warn'
22+
handleMissingId: 'warn',
23+
handleUnseenRoutes: 'warn'
2324
}
2425
}
2526
};

0 commit comments

Comments
 (0)