Skip to content

Commit

Permalink
Hot fix v0.33.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nricciardi committed Jul 9, 2024
1 parent 65a16d3 commit 58e8988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resource/image_resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl FromStr for ImageResource {
type Err = ResourceError;

fn from_str(s: &str) -> Result<Self, Self::Err> {
Ok(Self::new(PathBuf::from(s), None, None))
Ok(Self::new(PathBuf::from(s), None, None).inferring_mime_type()?)
}
}

Expand Down

0 comments on commit 58e8988

Please sign in to comment.