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; break;
case 'image/gif': case 'image/gif':
if (file.size > 30000000) { if (file.size > 50000000) {
throw new Error('Sorry, GIFs are limited to 30 megabytes.'); throw new Error('Sorry, GIFs are limited to 50 megabytes.');
} }
break; break;
case 'video/mp4': case 'video/mp4':
if (file.size > 20000000) { if (file.size > 50000000) {
throw new Error('Sorry, videos are limited to 20 megabytes.'); throw new Error('Sorry, videos are limited to 50 megabytes.');
} }
break; break;
default: default: