mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-21 05:06:41 +02:00
13 lines
320 B
TypeScript
13 lines
320 B
TypeScript
/**
|
|
* Protected routes layout server
|
|
* Auth checking is now done client-side via Mana Core Auth
|
|
*/
|
|
|
|
import type { LayoutServerLoad } from './$types';
|
|
|
|
export const load: LayoutServerLoad = async ({ url }) => {
|
|
// Return the current path for client-side redirect logic
|
|
return {
|
|
pathname: url.pathname,
|
|
};
|
|
};
|