From 36d7c43bbd301c53aad0ab9ce23abaad562f77a5 Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 17 Apr 2024 12:21:57 +0200 Subject: [PATCH] don't clutter logs --- src/tera/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tera/mod.rs b/src/tera/mod.rs index 2c126aa..02b5905 100644 --- a/src/tera/mod.rs +++ b/src/tera/mod.rs @@ -141,6 +141,7 @@ impl Fairing for Usage { && !uri.ends_with(".js") && !uri.ends_with(".ico") && !uri.ends_with(".json") + && !uri.ends_with(".png") { let config = req.rocket().state::().unwrap(); let Ok(mut file) = OpenOptions::new()