diff --git a/ui/litellm-dashboard/src/components/navbar.tsx b/ui/litellm-dashboard/src/components/navbar.tsx index f37dcb63e..dfa17add4 100644 --- a/ui/litellm-dashboard/src/components/navbar.tsx +++ b/ui/litellm-dashboard/src/components/navbar.tsx @@ -39,7 +39,9 @@ const Navbar: React.FC = ({ // const userColors = require('./ui_colors.json') || {}; const isLocal = process.env.NODE_ENV === "development"; + const proxyBaseUrl = isLocal ? "http://localhost:4000" : null; const imageUrl = isLocal ? "http://localhost:4000/get_image" : "/get_image"; + const logoutUrl = proxyBaseUrl ? `${proxyBaseUrl}` : `/`; const items: MenuProps["items"] = [ { @@ -52,6 +54,14 @@ const Navbar: React.FC = ({ ), }, + { + key: "2", + label: ( + +

Logout

+ + ), + } ]; return (