mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
f55b3add80
Co-authored-by: Thomas Way <thomas@6f.io>
8 lines
255 B
TypeScript
8 lines
255 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;
|