mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
17 lines
423 B
TypeScript
17 lines
423 B
TypeScript
import { loadConfig } from '$lib/stores/server-config.store';
|
|
import { authenticate } from '$lib/utils/auth';
|
|
import { getFormatter } from '$lib/utils/i18n';
|
|
import type { PageLoad } from './$types';
|
|
|
|
export const load = (async () => {
|
|
await authenticate({ admin: true });
|
|
await loadConfig();
|
|
|
|
const $t = await getFormatter();
|
|
|
|
return {
|
|
meta: {
|
|
title: $t('onboarding'),
|
|
},
|
|
};
|
|
}) satisfies PageLoad;
|