Skip to content
Snippets Groups Projects
Commit 61608d2c authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Add default allowed file upload

parent 63c0d152
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ RocketChat.settings.add 'Accounts_RequireNameForSignUp', true, { type: 'boolean'
RocketChat.settings.addGroup 'FileUpload'
RocketChat.settings.add 'FileUpload_Enabled', true, { type: 'boolean', group: 'FileUpload', public: true }
RocketChat.settings.add 'FileUpload_MaxFileSize', 2097152, { type: 'int', group: 'FileUpload', public: true }
RocketChat.settings.add 'FileUpload_MediaTypeWhiteList', 'image/*', { type: 'string', group: 'FileUpload', public: true, i18nDescription: 'FileUpload_MediaTypeWhiteListDescription' }
RocketChat.settings.add 'FileUpload_MediaTypeWhiteList', 'image/*, audio/*, .pdf, .doc, .txt', { type: 'string', group: 'FileUpload', public: true, i18nDescription: 'FileUpload_MediaTypeWhiteListDescription' }
RocketChat.settings.addGroup 'General'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment