mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-16 04:18:49 +00:00
(fix) use UI USERNAME
This commit is contained in:
@@ -5028,7 +5028,7 @@ async def login(request: Request):
|
||||
"user_id": "litellm-dashboard",
|
||||
}
|
||||
key = response["token"] # type: ignore
|
||||
litellm_dashboard_ui = os.getenv("PROXY_BASE_URL", "/") + "ui/"
|
||||
litellm_dashboard_ui = os.getenv("PROXY_BASE_URL", "") + "/ui/"
|
||||
import jwt
|
||||
|
||||
jwt_token = jwt.encode(
|
||||
|
||||
Reference in New Issue
Block a user