From 6e9a19ccc6927bfac2c27cb79c946b3c3340d712 Mon Sep 17 00:00:00 2001 From: tombii Date: Mon, 14 Apr 2025 10:57:57 +0200 Subject: [PATCH] Update networking.tsx Updated to send the user to /ui/ to login again instead of sending user to /. --- ui/litellm-dashboard/src/components/networking.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/litellm-dashboard/src/components/networking.tsx b/ui/litellm-dashboard/src/components/networking.tsx index 87ba0540e5..65470f193f 100644 --- a/ui/litellm-dashboard/src/components/networking.tsx +++ b/ui/litellm-dashboard/src/components/networking.tsx @@ -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; } -}; \ No newline at end of file +};