don't clutter logs #393

Merged
philipp merged 1 commits from fix-logs into main 2024-04-17 12:23:01 +02:00

View File

@ -141,6 +141,7 @@ impl Fairing for Usage {
&& !uri.ends_with(".js") && !uri.ends_with(".js")
&& !uri.ends_with(".ico") && !uri.ends_with(".ico")
&& !uri.ends_with(".json") && !uri.ends_with(".json")
&& !uri.ends_with(".png")
{ {
let config = req.rocket().state::<Config>().unwrap(); let config = req.rocket().state::<Config>().unwrap();
let Ok(mut file) = OpenOptions::new() let Ok(mut file) = OpenOptions::new()