aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui/home.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-01-29 14:45:25 +0100
committermetamuffin <metamuffin@disroot.org>2023-01-29 14:45:25 +0100
commitde8d69d2886ae50e28da210fc690c99457a804bb (patch)
treeb9d4fca9acd7d5fb844f4c76c8c338770d943df7 /server/src/routes/ui/home.rs
parent0d9dc5672b0ba0c6c9988b0422837ceb00a5d7b8 (diff)
downloadjellything-de8d69d2886ae50e28da210fc690c99457a804bb.tar
jellything-de8d69d2886ae50e28da210fc690c99457a804bb.tar.bz2
jellything-de8d69d2886ae50e28da210fc690c99457a804bb.tar.zst
more seeking code + expire cookies
Diffstat (limited to 'server/src/routes/ui/home.rs')
-rw-r--r--server/src/routes/ui/home.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/routes/ui/home.rs b/server/src/routes/ui/home.rs
index a8d9c65..f81e04f 100644
--- a/server/src/routes/ui/home.rs
+++ b/server/src/routes/ui/home.rs
@@ -25,7 +25,7 @@ pub fn r_home(_sess: Session, library: &State<Library>) -> DynLayoutPage {
#[get("/", rank = 2)]
pub async fn r_home_unpriv() -> MyResult<DynLayoutPage<'static>> {
- let front = read_to_string(CONF.asset_dir.join("front.htm")).await?;
+ let front = read_to_string(CONF.asset_path.join("front.htm")).await?;
Ok(LayoutPage {
title: "Home".to_string(),
content: markup::new! {