Skip to content

Commit 9064e93

Browse files
committed
redirect /docs to /docs/introductiong
1 parent 84146cd commit 9064e93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/routes/docs/+page.ts

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { redirect } from "@sveltejs/kit";
2+
import type { PageLoad } from "../$types";
3+
4+
export const load: PageLoad = async () => {
5+
throw redirect(303, "/docs/introduction");
6+
};

0 commit comments

Comments
 (0)