Hi,
The content-type of outlook file is "application/vnd.ms-outlook".
But it didn't work after I added this MIME type in the admin/FileUpload.
In the "package.js" of Rocket.Chat-file-upload, I found that Rocket.Chat uses the node module-"mime-types".
Then I had tested it
var mime = require('mime-types');
mime.lookup('.msg');
And it returned "false".
How can I add the "application/vnd.ms-outlook" now in the Rocket.Chat if I don't want to allow to upload all type files? Or add the extension type in the "mime-types".
Thanks.
Rocket.Chat Version: 0.44.0
Running Instances: 6
DB Replicaset OpLog: -
Node Version: v4.6.0
Hi,
The content-type of outlook file is "application/vnd.ms-outlook".
But it didn't work after I added this MIME type in the admin/FileUpload.
In the "package.js" of Rocket.Chat-file-upload, I found that Rocket.Chat uses the node module-"mime-types".
Then I had tested it
And it returned "false".
How can I add the "application/vnd.ms-outlook" now in the Rocket.Chat if I don't want to allow to upload all type files? Or add the extension type in the "mime-types".
Thanks.
Rocket.Chat Version: 0.44.0
Running Instances: 6
DB Replicaset OpLog: -
Node Version: v4.6.0