From 4fbb514f457500acba75d01a6572bc2355795f68 Mon Sep 17 00:00:00 2001 From: Joey Harrison Date: Fri, 25 Aug 2023 13:08:21 +0100 Subject: [PATCH] remove dbg statements --- src/statics.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/statics.rs b/src/statics.rs index 2b3d6e3..d1134fa 100644 --- a/src/statics.rs +++ b/src/statics.rs @@ -18,7 +18,6 @@ where { fn into_response(self) -> Response { let path = self.0.into(); - dbg!(Asset::iter().collect::>()); match Asset::get(path.as_str()) { Some(content) => { let mime = mime_guess::from_path(path).first_or_octet_stream(); @@ -33,6 +32,5 @@ where // within our defined assets directory. This is the directory on our Asset // struct, where folder = "static/". pub async fn static_handler(uri: Uri) -> impl IntoResponse { - dbg!("in static handler"); StaticFile(uri.path().trim_start_matches("/static/").to_string()) }