diff --git a/ui/litellm-dashboard/src/components/networking.tsx b/ui/litellm-dashboard/src/components/networking.tsx index 6726131df52..17ab0d4ca00 100644 --- a/ui/litellm-dashboard/src/components/networking.tsx +++ b/ui/litellm-dashboard/src/components/networking.tsx @@ -354,7 +354,7 @@ export const handleError = async (errorData: string | any) => { const browserLocation = getWindowLocation(); if (browserLocation) { const pathname = browserLocation.pathname; - if (pathname.startsWith("/")) { + if (pathname.startsWith("/") && !pathname.startsWith("//")) { window.location.href = pathname; } }