Explorar o código

Update avatars.js

increase the maximum avatar size
Alexey Fedechkin %!s(int64=5) %!d(string=hai) anos
pai
achega
3d82323eaa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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/*'],
     },