mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
commit
50d53c6f8d
1 changed files with 2 additions and 0 deletions
|
|
@ -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('/');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue