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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user