Commit 319a909d by CaIon

feat: add support for jfif image format in file decoder

parent 9cf884c5
...@@ -231,6 +231,8 @@ func GetMimeTypeByExtension(ext string) string { ...@@ -231,6 +231,8 @@ func GetMimeTypeByExtension(ext string) string {
return "image/png" return "image/png"
case "gif": case "gif":
return "image/gif" return "image/gif"
case "jfif":
return "image/jpeg"
// Audio files // Audio files
case "mp3": case "mp3":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment