diff --git a/app/main.py b/app/main.py index bec4580..8963ea6 100644 --- a/app/main.py +++ b/app/main.py @@ -54,11 +54,10 @@ app = FastAPI( redoc_url=None, ) - @app.get("/docs", include_in_schema=False) async def scalar_docs(): return get_scalar_api_reference( - openapi_url=app.openapi_url, + openapi_url=f"{app.root_path}{app.openapi_url}", title=app.title, force_dark_mode_state="light", hide_dark_mode_toggle=True,