diff --git a/backend/app/main.py b/backend/app/main.py index 93ca5fb..5a9876a 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -327,6 +327,12 @@ async def domain_details(request: Request, domain_id: str): ) +@app.get("/domains/{domain_id}", response_class=HTMLResponse) +async def domain_details_plural(request: Request, domain_id: str): + """View detailed reports for a specific domain (plural /domains/ path alias)""" + return await domain_details(request, domain_id) + + @app.get("/reports", response_class=HTMLResponse) async def reports(request: Request): return templates.TemplateResponse(request, "reports.html") diff --git a/backend/app/templates/domains.html b/backend/app/templates/domains.html index d0dc1e7..a844326 100644 --- a/backend/app/templates/domains.html +++ b/backend/app/templates/domains.html @@ -76,7 +76,7 @@ {% endcall %} {% call td("text-right") %}
- + Details {% call button(variant="outline", size="sm") %}