Merge pull request #378 from lbryio/fix-file-limit
feat(publish): increased file limits to 50mb for gif and video
This commit is contained in:
commit
d658049bbb
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue