max file size by mime type #738
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Would we be able to use max file size with a key value pair list. So that each mime type can have its own max file size?
eg.
var maxFileSizes= {
'image/png': 2048,
'image/jpeg': 1024
};