started refactoring (app) layout
This commit is contained in:
5
src/routes/+layout.server.ts
Normal file
5
src/routes/+layout.server.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { LayoutServerLoad } from './$types'
|
||||
|
||||
export const load: LayoutServerLoad = ({ url, locals }) => {
|
||||
return { urlPathname: url.pathname, user: locals.user }
|
||||
}
|
||||
Reference in New Issue
Block a user