From 930f9c6cc05723acd9fad5e1676066bf2769ecdc Mon Sep 17 00:00:00 2001 From: shouya <526598+shouya@users.noreply.github.com> Date: Sat, 16 Nov 2024 19:37:15 +0900 Subject: [PATCH] fix endpoint links in list view --- src/server/web/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/web/list.rs b/src/server/web/list.rs index 087effb..bc2c661 100644 --- a/src/server/web/list.rs +++ b/src/server/web/list.rs @@ -61,7 +61,7 @@ fn endpoint_list_entry_fragment(endpoint: &EndpointConfig) -> Markup { li { p { @let normalized_path = endpoint.path.trim_start_matches('/'); - @let endpoint_path = format!("/_/endpoint/{}", normalized_path); + @let endpoint_path = format!("_/endpoint/{}", normalized_path); @let endpoint_path = relative_path(&endpoint_path); a href=(endpoint_path) { (endpoint.path)