From a93b0ac143be067ccef11b8d93a1b38b9f46ef61 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 21 Aug 2024 18:33:31 +0200 Subject: [PATCH] fix --- src/routes/auth/+page.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/auth/+page.svelte b/src/routes/auth/+page.svelte index a7db94c32..f13ec42b0 100644 --- a/src/routes/auth/+page.svelte +++ b/src/routes/auth/+page.svelte @@ -8,6 +8,7 @@ import { toast } from 'svelte-sonner'; import { generateInitialsImage, canvasPixelTest } from '$lib/utils'; import { page } from '$app/stores'; + import { getBackendConfig } from '$lib/apis'; const i18n = getContext('i18n'); @@ -28,6 +29,7 @@ $socket.emit('user-join', { auth: { token: sessionUser.token } }); await user.set(sessionUser); + await config.set(await getBackendConfig()); goto('/'); } };