Files
relay/sveltekit-integration/src/hooks.server.ts
2025-08-30 03:33:33 +00:00

10 lines
334 B
TypeScript

import { handle as authHandle } from '$auth';
import { sequence } from '@sveltejs/kit/hooks';
import type { Handle } from '@sveltejs/kit';
const customHandle: Handle = async ({ event, resolve }) => {
// Add custom server-side logic here if needed
return resolve(event);
};
export const handle = sequence(authHandle, customHandle);