Merge pull request 'fix-logs' (#392) from fix-logs into staging

Reviewed-on: Ruderverein-Donau-Linz/rowt#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()