Skip to content

Commit dc7f799

Browse files
feat: add docs index redirect to default page
Redirect /docs to /docs/what-is-openboot with 307 (temporary) to allow changing the default landing page later. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
1 parent 4f50c2b commit dc7f799

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/routes/docs/+page.server.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { redirect } from '@sveltejs/kit';
2+
3+
export function load() {
4+
redirect(307, '/docs/what-is-openboot');
5+
}

0 commit comments

Comments
 (0)