Update environment type definitions and improve safe redirect logic in login proxy page. Refactor SvelteKit generated files for better performance and maintainability, including updates to version hashes and removal of unused dependencies.
CI / build (push) Has been skipped
CI / deploy (push) Has been cancelled

This commit is contained in:
eewing
2026-02-19 09:25:37 -06:00
parent 07836ce6bb
commit a3d6b2b083
56 changed files with 10376 additions and 522 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ import type { Actions, PageServerLoad } from "./$types";
function safeRedirectTo(searchParams: URLSearchParams): string {
const to = searchParams.get("redirectTo");
if (!to || typeof to !== "string") return "/items";
if (!to.startsWith("/") || to.startsWith("//")) return "/items";
if (!to || typeof to !== "string") return "/";
if (!to.startsWith("/") || to.startsWith("//")) return "/";
return to;
}
+1 -1
View File
@@ -5,7 +5,7 @@
let { data }: { data: ActionData } = $props();
</script>
<main class="flex min-h-screen flex-col items-center justify-center p-4">
<main class="flex min-h-0 flex-1 flex-col items-center justify-center overflow-hidden p-4">
{#if browser}
{#await import("./LoginForm.svelte")}
<p class="text-muted-foreground">Loading…</p>