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:
parent
741a530963
commit
d59129c212
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user