From 4841c08da8afa3e42c354fbc325ce56b6f997079 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 28 Feb 2026 00:24:52 +0100 Subject: bad pagination --- server/src/ui/assets.rs | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'server/src/ui/assets.rs') diff --git a/server/src/ui/assets.rs b/server/src/ui/assets.rs index 5903b83..089f293 100644 --- a/server/src/ui/assets.rs +++ b/server/src/ui/assets.rs @@ -51,32 +51,3 @@ pub async fn r_image_fallback_person( })?; Ok(Redirect::found(u_image(&path, size.unwrap_or(2048)))) } - -// #[get("/n//image/?")] -// pub async fn r_item_poster( -// session: A, -// id: A, -// slot: &str, -// size: Option, -// ) -> MyResult { -// let slot = PictureSlot::from_str(slot).map_err(|_| anyhow!("slot invalid"))?; -// let node = get_node(&session.0, id.0, false, false, NodeFilterSort::default())?; -// let picture = node -// .node -// .pictures -// .get(&slot) -// .cloned() -// .ok_or(anyhow!("no pic todo"))?; -// Ok(Redirect::permanent(rocket::uri!(r_image(picture, size)))) -// } - -// #[get("/n//thumbnail?&")] -// pub async fn r_node_thumbnail( -// session: A, -// id: A, -// t: f64, -// size: Option, -// ) -> MyResult { -// let picture = get_node_thumbnail(&session.0, id.0, t).await?; -// Ok(Redirect::permanent(rocket::uri!(r_image(picture, size)))) -// } -- cgit v1.3