fixed zip filetype
All checks were successful
Restart Website Service / restart_service (push) Successful in 35s

This commit is contained in:
Snorre Ettrup Altschul 2025-04-11 22:21:42 +02:00
parent c2a13c1436
commit 8c0fa67a22

View file

@ -95,6 +95,7 @@ fn get_mime_type<'a>(extension: Option<&'a OsStr>) -> String {
Some("html") => "text/html".to_string(),
Some("png") => "image/png".to_string(),
Some("ico") => "image/vnd.microsoft.icon".to_string(),
Some("zip") => "application/zip, application/octet-stream".to_string(),
_ => "text/text".to_string(),
}
}