mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +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 || {
|
let app = move || {
|
||||||
debug!("Constructing the App");
|
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);
|
let session_store = CookieSession::signed(SESSION_SIGNING_KEY).secure(false);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user