mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Updated image uploader to accept webp images (#2025)
This commit is contained in:
parent
e50146a83d
commit
121bdd6f90
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ import {isArray as isEmberArray} from '@ember/array';
|
|||
import {run} from '@ember/runloop';
|
||||
import {inject as service} from '@ember/service';
|
||||
|
||||
export const IMAGE_MIME_TYPES = 'image/gif,image/jpg,image/jpeg,image/png,image/svg+xml';
|
||||
export const IMAGE_EXTENSIONS = ['gif', 'jpg', 'jpeg', 'png', 'svg'];
|
||||
export const IMAGE_MIME_TYPES = 'image/gif,image/jpg,image/jpeg,image/png,image/svg+xml,image/webp';
|
||||
export const IMAGE_EXTENSIONS = ['gif', 'jpg', 'jpeg', 'png', 'svg', 'webp'];
|
||||
export const IMAGE_PARAMS = {purpose: 'image'};
|
||||
|
||||
export const ICON_EXTENSIONS = ['ico', 'png'];
|
||||
|
|
Loading…
Add table
Reference in a new issue