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:
parent
6dfca64521
commit
c8bc1b0d3c
1 changed files with 2 additions and 2 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Reference in a new issue