Merge pull request 'don't clutter logs' (#393) from fix-logs into main
Reviewed-on: #393
This commit is contained in:
commit
d0830e4631
@ -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::<Config>().unwrap();
|
||||
let Ok(mut file) = OpenOptions::new()
|
||||
|
Loading…
Reference in New Issue
Block a user