restrucutred svelte examples

This commit is contained in:
Peter
2023-10-25 13:23:37 +02:00
parent 117b4a4cb6
commit eca85310e1
44 changed files with 104 additions and 6 deletions
+3 -3
View File
@@ -2,7 +2,7 @@ import { redirect } from '@sveltejs/kit';
/** @type {import('./$types').LayoutServerLoad} */
export function load({ route }) {
if (route.id === '/') {
throw redirect(307, '/overview');
}
if (route.id === '/') {
throw redirect(307, '/examples/overview');
}
}