mime.getType('mp4')
gives me 'application/mp4'
rather than 'video/mp4'
#297
Labels
mime.getType('mp4')
gives me 'application/mp4'
rather than 'video/mp4'
#297
If you have an issue with a specific extension or type
Locate the definition for your extension/type in the db.json file in the
mime-db
project. Does it look right?mime-db
issue.Hello,
mime.getType('mp4')
gives me'application/mp4'
rather than'video/mp4'
, I did find both of them in https://github.com/jshttp/mime-db/blob/master/db.json, but I think the MIME type ofmp4
should bevideo/mp4
in most cases. Or do we need amime.getAllTypes
to solve this?The text was updated successfully, but these errors were encountered: