1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-04 13:21:45 +00:00
Files
pocket-id/frontend/src/routes/login/+page.ts
2025-09-30 14:44:08 +02:00

8 lines
171 B
TypeScript

import type { PageLoad } from './$types';
export const load: PageLoad = async ({ url }) => {
return {
redirect: url.searchParams.get('redirect') || '/settings'
};
};