fix: Move dashboard to root /
This commit is contained in:
1 parent
5703e54b88
commit
458f4399b3
1 file changed
+1
-1
+1
-1
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user