Skip to content

Commit

Permalink
/docs instead of /redoc
Browse files Browse the repository at this point in the history
  • Loading branch information
gphorvath committed Oct 2, 2024
1 parent 302ef4d commit fbff15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leapfrogai_api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def lifespan(app: FastAPI):
@app.get("/")
async def root():
"""Intercepts the root path and redirects to the API documentation."""
return RedirectResponse(url="/redoc")
return RedirectResponse(url="/docs")


Instrumentator(
Expand Down

0 comments on commit fbff15e

Please sign in to comment.