0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Added audio/x-m4a to allowed mime types in audio card

refs b12400577a

- additional mime type was added to the API's allowed list but was missed in Admin's allowed list
This commit is contained in:
Kevin Ansfield 2022-09-14 09:04:49 +01:00
parent b12400577a
commit a2f0ccc981

View file

@ -15,7 +15,7 @@ import {set} from '@ember/object';
import {task} from 'ember-concurrency';
import {tracked} from '@glimmer/tracking';
export const AUDIO_EXTENSIONS = ['mp3', 'wav', 'ogg', 'm4a'];
export const AUDIO_MIME_TYPES = ['audio/mp3', 'audio/mpeg', 'audio/ogg', 'audio/wav', 'audio/vnd.wav', 'audio/wave', 'audio/x-wav', 'audio/mp4'];
export const AUDIO_MIME_TYPES = ['audio/mp3', 'audio/mpeg', 'audio/ogg', 'audio/wav', 'audio/vnd.wav', 'audio/wave', 'audio/x-wav', 'audio/mp4', 'audio/x-m4a'];
const PLACEHOLDERS = ['summer', 'mountains', 'ufo-attack'];