8 lines
217 B
TypeScript
8 lines
217 B
TypeScript
import type { PageServerLoad } from './$types';
|
|
import { getSiteConfig } from '$lib/server/pocketbase';
|
|
|
|
export const load: PageServerLoad = async () => {
|
|
const config = await getSiteConfig();
|
|
return { config };
|
|
};
|