From 452033a8a2c83822f2b3b101e9012cd01f76eca2 Mon Sep 17 00:00:00 2001 From: Hengfei Yang Date: Sat, 25 Mar 2023 12:56:19 +0800 Subject: [PATCH] fix: ui path for dashboards (#407) --- src/handler/http/router/ui.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/handler/http/router/ui.rs b/src/handler/http/router/ui.rs index d460c38c6e..e9d7928f54 100644 --- a/src/handler/http/router/ui.rs +++ b/src/handler/http/router/ui.rs @@ -22,7 +22,7 @@ use rust_embed_for_web::RustEmbed; #[folder = "web/dist/"] struct WebAssets; -pub const UI_PAGES: [&str; 22] = [ +pub const UI_PAGES: [&str; 20] = [ "", "login", "logout", @@ -30,10 +30,8 @@ pub const UI_PAGES: [&str; 22] = [ "users", "logs", "dashboards", - "viewDashboard", - "addPanel", "dashboards/view", - "dashboards/addPanel", + "dashboards/add_panel", "logstreams", "functions", "alerts",