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('/'); } };