aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-01-24 21:55:30 +0100
committermetamuffin <metamuffin@disroot.org>2024-01-24 21:55:30 +0100
commit9d08704069f09f185eac0b80653cc39c1335c852 (patch)
tree37dac88f50c631716ce56d8b464bdc5459f143fc /server/src/routes/ui
parentdcd6b024c6874c17e739ad62f80eb3e212ec5e91 (diff)
downloadjellything-9d08704069f09f185eac0b80653cc39c1335c852.tar
jellything-9d08704069f09f185eac0b80653cc39c1335c852.tar.bz2
jellything-9d08704069f09f185eac0b80653cc39c1335c852.tar.zst
poster relative to library
Diffstat (limited to 'server/src/routes/ui')
-rw-r--r--server/src/routes/ui/assets.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/routes/ui/assets.rs b/server/src/routes/ui/assets.rs
index ef73fcc..0290566 100644
--- a/server/src/routes/ui/assets.rs
+++ b/server/src/routes/ui/assets.rs
@@ -58,6 +58,7 @@ pub async fn resolve_asset(asset: AssetInner, fed: &State<Federation>) -> anyhow
}
AssetInner::Cache(c) => Ok(c.abs()),
AssetInner::Assets(c) => Ok(CONF.asset_path.join(c)),
+ AssetInner::Library(c) => Ok(CONF.library_path.join(c)),
}
}