fix: embedded templates path on build

This commit is contained in:
Alexander Navarro 2025-02-26 05:20:04 -03:00
parent 56a9c7bd40
commit 8e1e366964
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ fn load_templates() -> Result<Environment<'static>> {
// only enable in production build
#[cfg(not(debug_assertions))]
minijinja_embed::load_templates!(&mut env);
minijinja_embed::load_templates!(&mut tmpl_env);
let global_routes = vec![Link {
path: "/about".to_owned(),