Files
immich/web/src/routes/(user)/shared-links/[[id=id]]/+page.ts
T
2025-02-07 13:05:15 -05:00

15 lines
325 B
TypeScript

import { authenticate } from '$lib/utils/auth';
import { getFormatter } from '$lib/utils/i18n';
import type { PageLoad } from './$types';
export const load = (async () => {
await authenticate();
const $t = await getFormatter();
return {
meta: {
title: $t('shared_links'),
},
};
}) satisfies PageLoad;