Selaa lähdekoodia

Update avatars.js

increase the maximum avatar size
Alexey Fedechkin 5 vuotta sitten
vanhempi
sitoutus
3d82323eaa
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      models/avatars.js

+ 1 - 1
models/avatars.js

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