mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 10:14:26 +00:00
Update networking.tsx
Updated to send the user to /ui/ to login again instead of sending user to /.
This commit is contained in:
parent
f4f2b6b71b
commit
6e9a19ccc6
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ const handleError = async (errorData: string) => {
|
|||
lastErrorTime = currentTime;
|
||||
await sleep(3000); // 5 second sleep
|
||||
document.cookie = "token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
|
||||
window.location.href = baseUrl;
|
||||
window.location.href = baseUrl + "ui/";
|
||||
}
|
||||
lastErrorTime = currentTime;
|
||||
} else {
|
||||
|
@ -4486,4 +4486,4 @@ export const teamPermissionsUpdateCall = async (
|
|||
console.error("Failed to update team permissions:", error);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue