Skip to content

Commit

Permalink
DEV: Update mp4s to use video rather than application
Browse files Browse the repository at this point in the history
  • Loading branch information
nattsw committed Dec 30, 2024
1 parent 574c3be commit 32bb3da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/db/content_type_mime.db
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ meta4 application/metalink4+xml
mets application/mets+xml base64
mods application/mods+xml base64
m21 application/mp21 base64
mp4 application/mp4 base64
mp4 video/mp4 base64
doc application/msword base64
mxf application/mxf base64
nc application/netcdf base64
Expand Down
6 changes: 3 additions & 3 deletions lib/db/ext_mime.db
Original file line number Diff line number Diff line change
Expand Up @@ -545,15 +545,15 @@ mp21 application/mp21
mp2a audio/mpeg base64
mp3 audio/mpeg base64
mp3g video/mpeg base64
mp4 application/mp4 base64
mp4 video/mp4 base64
mp4a audio/mp4 base64
mp4s application/mp4 base64
mp4s video/mp4 base64
mp4v video/mp4 base64
mpc application/vnd.mophun.certificate base64
mpe video/mpeg base64
mpeg video/mpeg base64
mpg video/mpeg base64
mpg4 application/mp4 base64
mpg4 video/mp4 base64
mpga audio/mpeg base64
mpkg application/vnd.apple.installer+xml base64
mpl video/MP2T base64
Expand Down
4 changes: 2 additions & 2 deletions test/mini_mime_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def should_prioritize_extensions_correctly
"es" => "application/ecmascript",
"jar" => "application/java-archive",
"ser" => "application/java-serialized-object",
"mp4" => "application/mp4",
"mpg4" => "application/mp4",
"mp4" => "video/mp4",
"mpg4" => "video/mp4",
"doc" => "application/msword",
"pgp" => "application/octet-stream",
"gpg" => "application/octet-stream",
Expand Down

0 comments on commit 32bb3da

Please sign in to comment.