updated file limits to 50mb for gif and video

This commit is contained in:
bill bittner 2018-03-07 09:28:33 -08:00
parent 0e705fdfa3
commit f9cbf8496d

View file

@ -16,13 +16,13 @@ module.exports = {
}
break;
case 'image/gif':
if (file.size > 30000000) {
throw new Error('Sorry, GIFs are limited to 30 megabytes.');
if (file.size > 50000000) {
throw new Error('Sorry, GIFs are limited to 50 megabytes.');
}
break;
case 'video/mp4':
if (file.size > 20000000) {
throw new Error('Sorry, videos are limited to 20 megabytes.');
if (file.size > 50000000) {
throw new Error('Sorry, videos are limited to 50 megabytes.');
}
break;
default: