2
0
Эх сурвалжийг харах

Update avatars.js

increase the maximum avatar size
Alexey Fedechkin 4 жил өмнө
parent
commit
3d82323eaa
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      models/avatars.js

+ 1 - 1
models/avatars.js

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