From ee59ba81602a209c2262846032d7e936cb2e8d1f Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 17 Feb 2026 00:17:48 +0100 Subject: node page --- common/src/api.rs | 4 ++-- common/src/routes.rs | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'common') diff --git a/common/src/api.rs b/common/src/api.rs index c25405d..2aac57b 100644 --- a/common/src/api.rs +++ b/common/src/api.rs @@ -34,8 +34,8 @@ fields! { NKU_ROLE: &str = 2027 "role"; NODELIST_TITLE: &str = 2007 "title"; - NODELIST_DISPLAYSTYLE: &str = 2008 "displaystyle"; - NODELIST_ITEM: &str = 2009 "item"; + NODELIST_DISPLAYSTYLE: Tag = 2008 "displaystyle"; + NODELIST_ITEM: Object = 2009 "item"; MESSAGE_KIND: &str = 2029 "kind"; MESSAGE_TEXT: &str = 2030 "text"; diff --git a/common/src/routes.rs b/common/src/routes.rs index 1d3a8da..fcef144 100644 --- a/common/src/routes.rs +++ b/common/src/routes.rs @@ -94,6 +94,3 @@ pub fn u_stats() -> String { pub fn u_search() -> String { "/search".to_owned() } -pub fn u_asset(token: &str, size: usize) -> String { - format!("/asset/{token}?size={size}") -} -- cgit v1.3