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:
parent
f177d857b3
commit
312308aa98
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ import injectService from 'ember-service/inject';
|
||||||
|
|
||||||
export default ModalComponent.extend({
|
export default ModalComponent.extend({
|
||||||
|
|
||||||
accept: 'application/zip',
|
accept: ['application/zip', 'application/x-zip-compressed'],
|
||||||
availableThemes: null,
|
availableThemes: null,
|
||||||
closeDisabled: false,
|
closeDisabled: false,
|
||||||
file: null,
|
file: null,
|
||||||
|
|
|
@ -11,7 +11,7 @@ export default Controller.extend({
|
||||||
submitting: false,
|
submitting: false,
|
||||||
showDeleteAllModal: false,
|
showDeleteAllModal: false,
|
||||||
|
|
||||||
importMimeType: ['application/json', 'application/zip'],
|
importMimeType: ['application/json', 'application/zip', 'application/x-zip-compressed'],
|
||||||
|
|
||||||
ghostPaths: injectService(),
|
ghostPaths: injectService(),
|
||||||
notifications: injectService(),
|
notifications: injectService(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue