Closed promanski closed 2 years ago
Bugfix
Currently .avi files were not properly validated even when in accept array, .avi extension has been placed. This change is fixing this issue by modifying ExtensionMap const key for avi file extension.
.avi
accept
While using file-type library for checking mime type of files, there is a need to apply the same value of returned mime-type (https://github.com/sindresorhus/file-type/blob/v10.11.0/index.js#L345)
Any idea when this gonna released? I'm waiting this fix for very long time
Bugfix
Currently
.avi
files were not properly validated even when inaccept
array, .avi extension has been placed. This change is fixing this issue by modifying ExtensionMap const key for avi file extension.While using file-type library for checking mime type of files, there is a need to apply the same value of returned mime-type (https://github.com/sindresorhus/file-type/blob/v10.11.0/index.js#L345)