Files
immich/web/src/routes/admin/system-settings/+page.ts
T
Jason Rasmussen 8fd94211c0 refactor(web): use new open api client (#7097)
* refactor(web): use new open api client

* refactor: remove activity api

* refactor: trash, oauth, and partner apis

* refactor: job api

* refactor: face, library, system config

* refactor: user api

* refactor: album api
2024-02-13 17:07:37 -05:00

16 lines
347 B
TypeScript

import { authenticate } from '$lib/utils/auth';
import { getConfig } from '@immich/sdk';
import type { PageLoad } from './$types';
export const load = (async () => {
await authenticate({ admin: true });
const configs = await getConfig();
return {
configs,
meta: {
title: 'System Settings',
},
};
}) satisfies PageLoad;