0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

fix subscriber uploads from windows (#7306)

no issue
- allow 'application/octet-stream' as a valid content type for an
  uploaded subscriber csv
This commit is contained in:
Austin Burdine 2016-09-01 05:43:50 -05:00 committed by Katharina Irrgang
parent 54559f24f9
commit 7854b65848

View file

@ -270,7 +270,7 @@ ConfigManager.prototype.set = function (config) {
uploads: {
subscribers: {
extensions: ['.csv'],
contentTypes: ['text/csv', 'application/csv']
contentTypes: ['text/csv', 'application/csv', 'application/octet-stream']
},
images: {
extensions: ['.jpg', '.jpeg', '.gif', '.png', '.svg', '.svgz'],