瀏覽代碼

Update avatars.js

increase the maximum avatar size
Alexey Fedechkin 4 年之前
父節點
當前提交
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/*'],
     },