fix: resolve 500 error on /dashboard by using existing index.html template

Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/e0466584-8008-4217-bb87-f6d6b9d77387

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-30 14:40:56 +00:00
parent 797567d441
commit 975f14c3f7
+1 -3
View File
@@ -372,9 +372,7 @@ async def index(request: Request):
# Individual page routes
@app.get("/dashboard", response_class=HTMLResponse)
async def dashboard(request: Request):
return templates.TemplateResponse(
request, "dashboard.html", {"app_name": settings.PROJECT_NAME}
)
return templates.TemplateResponse(request, "index.html")
@app.get("/login", response_class=HTMLResponse)