mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 09:13:15 +03:00
8 lines
181 B
TypeScript
8 lines
181 B
TypeScript
import type { PageServerLoad } from './$types';
|
|
|
|
export const load: PageServerLoad = async ({ url }) => {
|
|
return {
|
|
redirect: url.searchParams.get('redirect') || undefined
|
|
};
|
|
};
|