Merge pull request 'don't clutter logs' (#393) from fix-logs into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 12m42s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 5m23s

Reviewed-on: #393
This commit is contained in:
philipp 2024-04-17 12:22:59 +02:00
commit d0830e4631

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