1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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