don't clutter logs
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
philipp 2024-04-17 12:21:57 +02:00
parent 3ff8067c51
commit 36d7c43bbd

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