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

allow windows flavor of zip mime type to be uploaded (#7293)

refs #7292
- add 'application/x-zip-compressed' to allowed mime types for import
  and theme upload
This commit is contained in:
Austin Burdine 2016-09-01 01:49:54 -05:00 committed by Hannah Wolfe
parent 6dfca64521
commit c8bc1b0d3c

View file

@ -278,11 +278,11 @@ ConfigManager.prototype.set = function (config) {
},
db: {
extensions: ['.json', '.zip'],
contentTypes: ['application/octet-stream', 'application/json', 'application/zip']
contentTypes: ['application/octet-stream', 'application/json', 'application/zip', 'application/x-zip-compressed']
},
themes: {
extensions: ['.zip'],
contentTypes: ['application/zip']
contentTypes: ['application/zip', 'application/x-zip-compressed']
}
},
deprecatedItems: ['updateCheck', 'mail.fromaddress'],