mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
14 lines
341 B
TypeScript
14 lines
341 B
TypeScript
import { authenticate } from '$lib/utils/auth';
|
|
import { getFormatter } from '$lib/utils/i18n';
|
|
import type { PageLoad } from './$types';
|
|
|
|
export const load = (async ({ url }) => {
|
|
await authenticate(url);
|
|
const $t = await getFormatter();
|
|
|
|
return {
|
|
meta: {
|
|
title: $t('manage_geolocation'),
|
|
},
|
|
};
|
|
}) satisfies PageLoad;
|