mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-16 01:11:16 +03:00
9 lines
332 B
TypeScript
9 lines
332 B
TypeScript
import AppConfigService from '$lib/services/app-config-service';
|
|
import type { PageServerLoad } from './$types';
|
|
|
|
export const load: PageServerLoad = async ({ cookies }) => {
|
|
const appConfigService = new AppConfigService(cookies.get('access_token'));
|
|
const appConfig = await appConfigService.list(true);
|
|
return { appConfig };
|
|
};
|