Skip to content

High performance self-hosted photo and video management solution.

207 B
Raw Blame
import { authenticate } from '#lib/utils/auth.ts';
import type { LayoutLoad } from './$types';

export const load = (async ({ url }) => {
  await authenticate(url, { admin: true });
}) satisfies LayoutLoad;