From b3c5427d570df9a529fa6465db4b5459941ce62b Mon Sep 17 00:00:00 2001 From: "tyh.carl" <147241751+tyh-carl@users.noreply.github.com> Date: Wed, 20 May 2026 10:20:28 +0800 Subject: [PATCH] Update ui/litellm-dashboard/src/components/networking.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- ui/litellm-dashboard/src/components/networking.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }