mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-04 13:21:45 +00:00
8 lines
171 B
TypeScript
8 lines
171 B
TypeScript
import type { PageLoad } from './$types';
|
|
|
|
export const load: PageLoad = async ({ url }) => {
|
|
return {
|
|
redirect: url.searchParams.get('redirect') || '/settings'
|
|
};
|
|
};
|