lifted 5 mb limit on api post

This commit is contained in:
bill bittner 2017-07-31 10:14:27 -07:00
parent 56dfc245e6
commit 90b95bdb12

View file

@ -12,8 +12,8 @@ module.exports = {
case 'image/jpeg':
case 'image/png':
case 'image/gif':
if (file.size > 5000000) {
throw new Error('Your image exceeds the 5 megabyte limit.');
if (file.size > 50000000) {
throw new Error('Your image exceeds the 50 megabyte limit.');
}
break;
case 'video/mp4':