mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
7 lines
192 B
TypeScript
7 lines
192 B
TypeScript
import type { PageLoad } from "./$types";
|
|
|
|
export const load: PageLoad = async ({ url }) => {
|
|
const redirectPath = url.searchParams.get("redirect") || "/home";
|
|
return { redirectPath };
|
|
};
|