12 lines
231 B
TypeScript
12 lines
231 B
TypeScript
import { authenticate } from '$lib/utils/auth';
|
|
import type { PageLoad } from './$types';
|
|
|
|
export const load = (async () => {
|
|
await authenticate();
|
|
return {
|
|
meta: {
|
|
title: 'Search',
|
|
},
|
|
};
|
|
}) satisfies PageLoad;
|