lifted image cap to 50mb
This commit is contained in:
parent
90b95bdb12
commit
d9276d1a35
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ function validateFile(file) {
|
||||||
case 'image/jpg':
|
case 'image/jpg':
|
||||||
case 'image/png':
|
case 'image/png':
|
||||||
case 'image/gif':
|
case 'image/gif':
|
||||||
if (file.size > 10000000){
|
if (file.size > 50000000){
|
||||||
throw new Error('Sorry, images are limited to 10 megabytes.');
|
throw new Error('Sorry, images are limited to 50 megabytes.');
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'video/mp4':
|
case 'video/mp4':
|
||||||
|
|
Loading…
Reference in a new issue