فهرست منبع

feat: add support for jfif image format in file decoder

CaIon 1 ماه پیش
والد
کامیت
16d8055397
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      service/file_decoder.go

+ 2 - 0
service/file_decoder.go

@@ -231,6 +231,8 @@ func GetMimeTypeByExtension(ext string) string {
 		return "image/png"
 	case "gif":
 		return "image/gif"
+	case "jfif":
+		return "image/jpeg"
 
 	// Audio files
 	case "mp3":