diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-02-21 12:09:59 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-02-21 12:09:59 +0100 |
| commit | 276da3a082333b2287eca2e0fb2127fc6d1619e5 (patch) | |
| tree | d0240b797455d571ceb39c1d57dd27d98ea955aa /common | |
| parent | 356bc5fe6913e85b18a2cb355f30019cdfd6b146 (diff) | |
| download | jellything-276da3a082333b2287eca2e0fb2127fc6d1619e5.tar jellything-276da3a082333b2287eca2e0fb2127fc6d1619e5.tar.bz2 jellything-276da3a082333b2287eca2e0fb2127fc6d1619e5.tar.zst | |
person fallback images
Diffstat (limited to 'common')
| -rw-r--r-- | common/src/routes.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/src/routes.rs b/common/src/routes.rs index 82a6f45..3ee1e4c 100644 --- a/common/src/routes.rs +++ b/common/src/routes.rs @@ -21,6 +21,9 @@ pub fn u_node_slug_player_time(node: &str, time: f64) -> String { pub fn u_image(path: &str, size: usize) -> String { format!("/image/{path}?size={size}") } +pub fn u_image_fallback_person(name: &str, size: usize) -> String { + format!("/image_fallback/person/{name}?size={size}") +} pub fn u_node_slug_watched(node: &str, state: &str) -> String { format!("/n/{node}/watched?state={state}") } |