mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
createTabRoutes.slugFromPathname matched the first occurrence of the route base segment. When SERVER_ROOT_PATH repeats that segment (e.g. /logs mounts the UI at /logs/ui, so the audit tab is /logs/ui/logs/audit/), it read the server-root copy and returned the wrong segment, which the layout treats as an unknown tab and hard-redirects to a path that misparses the same way, causing a reload loop. Match the last occurrence instead: the route base always follows any server-root prefix, and no tab slug equals the base, so the last match is always the real route base. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||