From 7f5541803b2ab12f0df6297dd7f1a8161c96f056 Mon Sep 17 00:00:00 2001 From: Chris Christiansen Date: Fri, 29 May 2026 22:15:11 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20serve=20docs/index.html=20som=20landing?= =?UTF-8?q?=20page=20p=C3=A5=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.py b/main.py index 5e23b61..ac8e253 100644 --- a/main.py +++ b/main.py @@ -84,6 +84,13 @@ class DagRequest(BaseModel): scheduler: str = Field("threads") +# ── ROOT LANDING PAGE ─────────────────────────────────────────────────── +@app.get("/") +def root(): + """Serves the documentation index page.""" + return FileResponse("docs/index.html") + + # ── HEALTH ──────────────────────────────────────────────────────────────────── @app.get("/health") def health():