⬆️ Upgraded SvelteKit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
|
||||
export async function load({ session }) {
|
||||
if (session.authenticated) {
|
||||
throw redirect(302, '/dashboard');
|
||||
}
|
||||
return {};
|
||||
}
|
||||
Reference in New Issue
Block a user