file-selector
file-selector copied to clipboard
chore: add missing mime types
trafficstars
What kind of change does this PR introduce?
- [ ] Bug Fix
- [ ] Feature
- [ ] Refactoring
- [ ] Style
- [ ] Build
- [x] Chore
- [ ] Documentation
- [ ] CI
Did you add tests for your changes?
- [ ] Yes, my code is well tested
- [x] Not relevant
If relevant, did you update the documentation?
- [ ] Yes, I've updated the documentation
- [x] Not relevant
Summary Explain the motivation for making this change. What existing problem does the pull request solve? Try to link to an open issue for more information.
- Add missing MIME types to support more files. File type is undefined when dropping a file that isn't in the COMMON_MIME_TYPES using React Dropzone
Does this PR introduce a breaking change?
If this PR introduces a breaking change, please describe the impact and a migration path for existing applications.
['ico', 'image/vnd.microsoft.icon'] is now '[ico' => 'image/x-icon']
Other information