0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

allow windows zip type to be uploaded (#238)

refs TryGhost/Ghost#7292, TryGhost/Ghost#7293
- add 'application/x-zip-compressed' to allowed mime-types for import
  and theme
This commit is contained in:
Austin Burdine 2016-09-01 01:50:34 -05:00 committed by Hannah Wolfe
parent f177d857b3
commit 312308aa98
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ import injectService from 'ember-service/inject';
export default ModalComponent.extend({
accept: 'application/zip',
accept: ['application/zip', 'application/x-zip-compressed'],
availableThemes: null,
closeDisabled: false,
file: null,

View file

@ -11,7 +11,7 @@ export default Controller.extend({
submitting: false,
showDeleteAllModal: false,
importMimeType: ['application/json', 'application/zip'],
importMimeType: ['application/json', 'application/zip', 'application/x-zip-compressed'],
ghostPaths: injectService(),
notifications: injectService(),