forked from open-webui/open-webui
feat: custom chatId route support
This commit is contained in:
parent
99e8816e73
commit
2342c5036b
14 changed files with 2672 additions and 2042 deletions
|
@ -35,7 +35,7 @@
|
|||
|
||||
if (res) {
|
||||
console.log(res);
|
||||
toast.success(`You're now logged in. Redirecting you to the main page.`);
|
||||
toast.success(`You're now logged in.`);
|
||||
localStorage.token = res.token;
|
||||
await user.set(res);
|
||||
goto('/');
|
||||
|
@ -66,7 +66,7 @@
|
|||
|
||||
if (res) {
|
||||
console.log(res);
|
||||
toast.success(`Account creation successful. Redirecting you to the main page."`);
|
||||
toast.success(`Account creation successful."`);
|
||||
localStorage.token = res.token;
|
||||
await user.set(res);
|
||||
goto('/');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue