Fix lint
This commit is contained in:
parent
73db6a31f6
commit
76cdd7b4c4
1 changed files with 8 additions and 5 deletions
|
|
@ -139,7 +139,7 @@ class GreatAI(FastAPI):
|
|||
return get_swagger_ui_html(openapi_url="openapi.json", title=self.title)
|
||||
|
||||
@self.get("/docs/index.html", include_in_schema=False)
|
||||
def redirect_to_entrypoint() -> RedirectResponse:
|
||||
def redirect_to_docs() -> RedirectResponse:
|
||||
return RedirectResponse("/docs")
|
||||
|
||||
if not disable_metrics:
|
||||
|
|
|
|||
Loading…
Reference in a new issue