From d59129c2126628ece8ba639d6042a975288c887b Mon Sep 17 00:00:00 2001 From: Elliot Jackson Date: Mon, 3 Feb 2020 17:42:29 +0100 Subject: [PATCH] Fix templates path (#248) --- todo/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todo/src/main.rs b/todo/src/main.rs index 54ce36fb..9b610b06 100644 --- a/todo/src/main.rs +++ b/todo/src/main.rs @@ -33,7 +33,7 @@ async fn main() -> io::Result<()> { let app = move || { debug!("Constructing the App"); - let templates: Tera = Tera::new("/templates/**/*").unwrap(); + let templates: Tera = Tera::new("templates/**/*").unwrap(); let session_store = CookieSession::signed(SESSION_SIGNING_KEY).secure(false);