1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

Fix templates path (#248)

This commit is contained in:
Elliot Jackson
2020-02-03 17:42:29 +01:00
committed by GitHub
parent 741a530963
commit d59129c212

View File

@ -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);