diff --git a/src/api/web.rs b/src/api/web.rs index 5c341cc6..0c60a352 100644 --- a/src/api/web.rs +++ b/src/api/web.rs @@ -66,7 +66,7 @@ fn alive() -> Json { #[get("/images/")] fn images(filename: String) -> Result>, Error> { - let image_type = ContentType::new("image", "x-icon"); + let image_type = ContentType::new("image", "png"); match filename.as_ref() { "mail-github.png" => Ok(Content(image_type , include_bytes!("../static/images/mail-github.png").to_vec())), "logo-gray.png" => Ok(Content(image_type, include_bytes!("../static/images/logo-gray.png").to_vec())),