mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
use set for public routes
This commit is contained in:
parent
bb1489eced
commit
b71021f1bf
1 changed files with 12 additions and 10 deletions
|
|
@ -312,16 +312,18 @@ class LiteLLMRoutes(enum.Enum):
|
|||
"/global/spend/provider",
|
||||
]
|
||||
|
||||
public_routes = [
|
||||
"/routes",
|
||||
"/",
|
||||
"/health/liveliness",
|
||||
"/health/liveness",
|
||||
"/health/readiness",
|
||||
"/test",
|
||||
"/config/yaml",
|
||||
"/metrics",
|
||||
]
|
||||
public_routes = set(
|
||||
[
|
||||
"/routes",
|
||||
"/",
|
||||
"/health/liveliness",
|
||||
"/health/liveness",
|
||||
"/health/readiness",
|
||||
"/test",
|
||||
"/config/yaml",
|
||||
"/metrics",
|
||||
]
|
||||
)
|
||||
|
||||
ui_routes = [
|
||||
"/sso",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue