diff --git a/src/routes/login/+page.server.ts b/src/routes/login/+page.server.ts index 49e4047..4325b68 100644 --- a/src/routes/login/+page.server.ts +++ b/src/routes/login/+page.server.ts @@ -7,6 +7,7 @@ import { zod } from "sveltekit-superforms/adapters"; export const load: PageServerLoad = async () => { return { form: await superValidate(zod(formSchema)), + origin: process.env.ORIGIN, }; }; diff --git a/src/routes/login/+page.svelte b/src/routes/login/+page.svelte index ca2127b..20dc046 100644 --- a/src/routes/login/+page.svelte +++ b/src/routes/login/+page.svelte @@ -13,7 +13,7 @@
- Login + Login to {data.origin}