From bad8d1aedfab6ff8ecbf0dc10f9a58c978342890 Mon Sep 17 00:00:00 2001
From: Volkor <me@volkor.me>
Date: Tue, 21 Feb 2023 18:59:42 +1100
Subject: [PATCH] add debug host log

---
 src/main.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.rs b/src/main.rs
index 513d1b0..cfc9db6 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));
-- 
GitLab