mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
8 lines
253 B
TypeScript
8 lines
253 B
TypeScript
import type { LayoutServerLoad } from './$types';
|
|
|
|
export const load = (async ({ locals: { api, user } }) => {
|
|
const { data: serverVersion } = await api.serverInfoApi.getServerVersion();
|
|
|
|
return { serverVersion, user };
|
|
}) satisfies LayoutServerLoad;
|