fix: Move dashboard to root /

This commit is contained in:
Riz Ashraf committed 2026-09-09 04:00:55 +01:00
1 parent 5703e54b88
commit 458f4399b3
1 file changed
+1 -1
+1 -1
View File
@@ -140,7 +140,7 @@ fn run_server(state: Arc<MemoryState>) -> Result<(), Box<dyn std::error::Error>>
.route("/sse", get(sse_handler))
.route("/messages", post(message_handler))
.route("/health", get(health_handler))
.route("/dashboard", get(|| async move {
.route("/", get(|| async move {
axum::response::Html(include_str!("dashboard.html"))
}))
.route("/api/stats", get({