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()