diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-06-22 08:35:24 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-06-22 08:35:24 -0400 |
commit | 009df5bad5f55c7e4c698f9dab8420d00a7ae71e (patch) | |
tree | 9f138437b9487bc2772c6519af73704727e92104 /web/react/utils/constants.jsx | |
parent | 8291cb772c1f2b410c08c5fb71c07ef9ca07b0ce (diff) | |
download | chat-009df5bad5f55c7e4c698f9dab8420d00a7ae71e.tar.gz chat-009df5bad5f55c7e4c698f9dab8420d00a7ae71e.tar.bz2 chat-009df5bad5f55c7e4c698f9dab8420d00a7ae71e.zip |
fixes mm-1318 only allow 5 files to be uploaded at a time
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r-- | web/react/utils/constants.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx index deb07409b..6d129106b 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -45,6 +45,7 @@ module.exports = { PATCH_TYPES: ['patch'], ICON_FROM_TYPE: {'audio': 'audio', 'video': 'video', 'spreadsheet': 'ppt', 'pdf': 'pdf', 'code': 'code' , 'word': 'word' , 'excel': 'excel' , 'patch': 'patch', 'other': 'generic'}, MAX_DISPLAY_FILES: 5, + MAX_UPLOAD_FILES: 5, MAX_FILE_SIZE: 50000000, // 50 MB DEFAULT_CHANNEL: 'town-square', POST_CHUNK_SIZE: 60, |