Explorar el Código

feat: add support for jfif image format in file decoder

CaIon hace 1 mes
padre
commit
16d8055397
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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":