Merge pull request 'fix-logs' (#392) from fix-logs into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 12m47s
CI/CD Pipeline / deploy-staging (push) Successful in 5m28s
CI/CD Pipeline / deploy-main (push) Has been skipped

Reviewed-on: #392
This commit is contained in:
philipp 2024-04-17 12:22:32 +02:00
commit ef85d30846

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