mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-16 09:13:20 +03:00
9 lines
214 B
TypeScript
9 lines
214 B
TypeScript
import type { PageServerLoad } from './$types';
|
|
|
|
export const load: PageServerLoad = async ({ params, url }) => {
|
|
return {
|
|
token: params.token,
|
|
redirect: url.searchParams.get('redirect') || '/settings'
|
|
};
|
|
};
|