immich/web/src/routes/(user)/sharing/sharedlinks/+page.ts
martin c602eaea4a
feat(web): automatically update user info (#5647)
* use svelte store

* fix: websocket error when not authenticated

* more routes
2023-12-12 10:35:28 -06:00

11 lines
237 B
TypeScript

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