fix: remove empty-path GET decorator to avoid FastAPI prefix+path empty error
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled

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 <noreply@anthropic.com>
This commit is contained in:
2026-03-19 20:20:36 +01:00
parent 50a20734ff
commit 30732cd189

View File

@@ -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