refactor: move server-only code (resolves #2)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { getSession as getSession } from '$lib/auth';
|
||||
import { getSession as getSession } from '$lib/server/session';
|
||||
import type { LayoutServerLoad } from './$types';
|
||||
|
||||
export const load: LayoutServerLoad = async (event) => {
|
||||
|
||||
Reference in New Issue
Block a user