mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
refactor(ui): drop comments that restate the redirect table and home route
This commit is contained in:
parent
1258d84221
commit
2dfa14648a
2 changed files with 0 additions and 3 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import { uiHref } from "@/utils/uiHref";
|
||||
|
||||
// Old ?page= bookmarks and the proxy's MCP env-var setup link still land on the UI root;
|
||||
// this table sends them to the path route that replaced each page id.
|
||||
const LEGACY_PAGE_ROUTES: ReadonlyMap<string, string> = new Map(
|
||||
Object.entries({
|
||||
"api-keys": "api-keys",
|
||||
|
|
|
|||
|
|
@ -366,7 +366,6 @@ const HOME_ROUTE = "api-keys";
|
|||
|
||||
const routeOf = (item: MenuItem): string => item.route ?? item.page;
|
||||
|
||||
// The dashboard root serves Virtual Keys, so an empty segment selects that entry.
|
||||
const routeForPathname = (pathname: string): string => routeSegmentForPathname(pathname) || HOME_ROUTE;
|
||||
|
||||
const findParentKey = (route: string): string | null => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue