chore: svelte-kit-2 (#6103)
* chore: upgrade svelte * chore: type imports * chore: types
This commit is contained in:
@@ -5,5 +5,5 @@ import type { PageLoad } from './$types';
|
||||
|
||||
export const load = (async () => {
|
||||
await authenticate();
|
||||
throw redirect(302, AppRoute.MEMORY);
|
||||
redirect(302, AppRoute.MEMORY);
|
||||
}) satisfies PageLoad;
|
||||
|
||||
@@ -3,5 +3,5 @@ import { redirect } from '@sveltejs/kit';
|
||||
import type { PageLoad } from './$types';
|
||||
|
||||
export const load = (async () => {
|
||||
throw redirect(302, AppRoute.PHOTOS);
|
||||
redirect(302, AppRoute.PHOTOS);
|
||||
}) satisfies PageLoad;
|
||||
|
||||
Reference in New Issue
Block a user