mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-26 01:12:21 +00:00
Update ui/litellm-dashboard/src/components/networking.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
6137c16c0e
commit
b3c5427d57
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue