aboutsummaryrefslogtreecommitdiff
path: root/src/api/utils/multerStorage.js
Commit message (Collapse)AuthorAgeFilesLines
* fix: use PassThrough from FileType to get the real mimetype of a file while ↵Zephyrrus2021-01-071-15/+35
| | | | it's being saved to the disk
* feat: check for real mimetype using file-typeZephyrrus2021-01-071-4/+2
| | | | For now, if file-type returns undefined, we take the value from the browser. In the future this should be removed to ensure people can't bypass the real mime checking using a special file that can't be recognized by file-type.
* feature: new chunk and write strategyPitu2021-01-071-0/+91