full working application and initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { createConvexAuthHandlers } from '@mmailaender/convex-auth-svelte/sveltekit/server';
|
||||
import type { LayoutServerLoad } from './$types.js';
|
||||
|
||||
const { getAuthState } = createConvexAuthHandlers();
|
||||
|
||||
export const load: LayoutServerLoad = async (event) => {
|
||||
return {
|
||||
authState: await getAuthState(event)
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user