NeerajCodz commited on
Commit
f659d59
·
1 Parent(s): 3232831

fix: support settings endpoint without trailing slash

Browse files
Files changed (1) hide show
  1. backend/app/api/routes/settings.py +1 -0
backend/app/api/routes/settings.py CHANGED
@@ -108,6 +108,7 @@ AVAILABLE_MODELS = [
108
  ]
109
 
110
 
 
111
  @router.get("/", response_model=SettingsResponse)
112
  async def get_settings() -> SettingsResponse:
113
  """Get current client settings."""
 
108
  ]
109
 
110
 
111
+ @router.get("")
112
  @router.get("/", response_model=SettingsResponse)
113
  async def get_settings() -> SettingsResponse:
114
  """Get current client settings."""