lifted 5 mb limit on api post
This commit is contained in:
parent
56dfc245e6
commit
90b95bdb12
1 changed files with 2 additions and 2 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue