This commit is contained in:
Timothy J. Baek 2024-08-21 18:33:31 +02:00
parent acaf135a2f
commit a93b0ac143

View File

@ -8,6 +8,7 @@
import { toast } from 'svelte-sonner'; import { toast } from 'svelte-sonner';
import { generateInitialsImage, canvasPixelTest } from '$lib/utils'; import { generateInitialsImage, canvasPixelTest } from '$lib/utils';
import { page } from '$app/stores'; import { page } from '$app/stores';
import { getBackendConfig } from '$lib/apis';
const i18n = getContext('i18n'); const i18n = getContext('i18n');
@ -28,6 +29,7 @@
$socket.emit('user-join', { auth: { token: sessionUser.token } }); $socket.emit('user-join', { auth: { token: sessionUser.token } });
await user.set(sessionUser); await user.set(sessionUser);
await config.set(await getBackendConfig());
goto('/'); goto('/');
} }
}; };