Skip to content

Commit

Permalink
Fix heic and heif extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-vasile committed Nov 3, 2019
1 parent 392eb0c commit a712f07
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions supported_mimes.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ Extension | MIME type
**macho** | application/x-mach-binary
**qcp** | audio/qcelp
**icns** | image/x-icns
**.heic** | image/heic
**.heic** | image/heic-sequence
**.heif** | image/heif
**.heif** | image/heif-sequence
**heic** | image/heic
**heic** | image/heic-sequence
**heif** | image/heif
**heif** | image/heif-sequence
**mrc** | application/marc
**mdb** | application/x-msaccess
**accdb** | application/x-msaccess
8 changes: 4 additions & 4 deletions tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ var (
ico = newNode("image/x-icon", "ico", matchers.Ico)
icns = newNode("image/x-icns", "icns", matchers.Icns)
psd = newNode("image/vnd.adobe.photoshop", "psd", matchers.Psd)
heic = newNode("image/heic", ".heic", matchers.Heic)
heicSeq = newNode("image/heic-sequence", ".heic", matchers.HeicSequence)
heif = newNode("image/heif", ".heif", matchers.Heif)
heifSeq = newNode("image/heif-sequence", ".heif", matchers.HeifSequence)
heic = newNode("image/heic", "heic", matchers.Heic)
heicSeq = newNode("image/heic-sequence", "heic", matchers.HeicSequence)
heif = newNode("image/heif", "heif", matchers.Heif)
heifSeq = newNode("image/heif-sequence", "heif", matchers.HeifSequence)
mp3 = newNode("audio/mpeg", "mp3", matchers.Mp3)
flac = newNode("audio/flac", "flac", matchers.Flac)
midi = newNode("audio/midi", "midi", matchers.Midi)
Expand Down

0 comments on commit a712f07

Please sign in to comment.