Update avatars.js

increase the maximum avatar size
This commit is contained in:
Alexey Fedechkin 2020-11-20 13:51:34 +07:00 committed by GitHub
parent 83cd5e7494
commit 3d82323eaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
Avatars = new FS.Collection('avatars', {
stores: [new FS.Store.GridFS('avatars')],
filter: {
maxSize: 72000,
maxSize: 520000,
allow: {
contentTypes: ['image/*'],
},