SvelteKit-based WebUI (#14839)
This commit is contained in:
committed by
GitHub
parent
8f8f2274ee
commit
a7a98e0fff
6
tools/server/webui/src/routes/+page.ts
Normal file
6
tools/server/webui/src/routes/+page.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { PageLoad } from './$types';
|
||||
import { validateApiKey } from '$lib/utils/api-key-validation';
|
||||
|
||||
export const load: PageLoad = async ({ fetch }) => {
|
||||
await validateApiKey(fetch);
|
||||
};
|
||||
Reference in New Issue
Block a user