From 30732cd189228292d40502f8420abf157d97ea1e Mon Sep 17 00:00:00 2001 From: Malin Date: Thu, 19 Mar 2026 20:20:36 +0100 Subject: [PATCH] fix: remove empty-path GET decorator to avoid FastAPI prefix+path empty error When dashboard router is mounted with prefix="" the @router.get("") route causes FastAPIError: Prefix and path cannot be both empty. Co-Authored-By: Claude Sonnet 4.6 --- src/routes/dashboard.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes/dashboard.py b/src/routes/dashboard.py index e9c150f..4afa2ed 100644 --- a/src/routes/dashboard.py +++ b/src/routes/dashboard.py @@ -15,7 +15,6 @@ from dashboard_cache import get_cached, is_warm router = APIRouter() -@router.get("") @router.get("/") async def dashboard_page(request: Request): config = request.app.state.config