diff --git a/src/main.rs b/src/main.rs index 513d1b0a885b208bfa82552f1217bfdf0329d9b7..cfc9db66156cb4b093bb2a31e474b2c9cb11d33a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -56,6 +56,7 @@ async fn index(req: &mut Request, res: &mut Response) { // Now we need to setup the templating engine. let tpls: Ramhorns = Ramhorns::from_folder(template_with_host) .expect("Unable to find template, please place the templates correctly!"); + tracing::debug!("template_with_host: {:?}", &template_with_host.to_string()); let rendered = tpls.get("upload.html").unwrap().render(&""); // Removed templating for debugging multiple template dirs - I should probably add it back in. res.render(Text::Html(rendered));