From de8d69d2886ae50e28da210fc690c99457a804bb Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 29 Jan 2023 14:45:25 +0100 Subject: more seeking code + expire cookies --- server/src/routes/ui/home.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/routes/ui/home.rs') 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) -> DynLayoutPage { #[get("/", rank = 2)] pub async fn r_home_unpriv() -> MyResult> { - 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! { -- cgit v1.2.3-70-g09d2