mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
* feat(web): SPA * chore: remove unnecessary prune * feat(web): merge with immich-server * Correct method name * fix: bugs, docs, workflows, etc. * chore: keep dockerignore for dev * chore: remove license * fix: expose 2283 --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
13 lines
251 B
TypeScript
13 lines
251 B
TypeScript
import { authenticate } from '$lib/utils/auth';
|
|
import type { PageLoad } from './$types';
|
|
|
|
export const load = (async () => {
|
|
const user = await authenticate();
|
|
return {
|
|
user,
|
|
meta: {
|
|
title: 'Map',
|
|
},
|
|
};
|
|
}) satisfies PageLoad;
|