Files
letta-server/letta/server/rest_api/static_files.py
Charles Packer c32d53f8a3 fix(core): remove old static landing page from Docker image (#9369)
The "Experience the new ADE" page was outdated and no longer useful.
Root path now redirects to /docs (FastAPI Swagger UI) instead.

👾 Generated with [Letta Code](https://letta.com)

Co-authored-by: Letta <noreply@letta.com>
2026-02-24 10:52:07 -08:00

9 lines
237 B
Python

from fastapi import FastAPI
from fastapi.responses import RedirectResponse
def mount_static_files(app: FastAPI):
@app.get("/", include_in_schema=False)
async def redirect_to_docs():
return RedirectResponse(url="/docs")