managarten/apps/chat/apps/web/src/routes/(protected)/+layout.server.ts
Wuesteon ff80aeec1f refactor: restructure
monorepo with apps/ and services/
  directories
2025-11-26 03:03:24 +01:00

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,
};
};