Skip to content

Commit 58e8988

Browse files
committed
Hot fix v0.33.3
1 parent 65a16d3 commit 58e8988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resource/image_resource.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl FromStr for ImageResource {
198198
type Err = ResourceError;
199199

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

0 commit comments

Comments
 (0)