Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make mimetype support always return true
  • Loading branch information
CarlSchwan committed Feb 22, 2022
commit 270eeeb6f1eda961a01477d06748ee52d42f25c3
3 changes: 2 additions & 1 deletion type.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ func IsImageMimeTypeSupported(mime string) bool {
format = "svg"
}

return bimg.IsTypeNameSupported(format)
// Tmp hack to see if this fix an issue
return true // bimg.IsTypeNameSupported(format)
}

// ImageType returns the image type based on the given image type alias.
Expand Down