Add .wav audio as supported file type

This commit is contained in:
Sean King 2020-08-27 20:31:07 -06:00
parent 96ccf02ab8
commit 6872568d9e
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ describe('media_attachments reducer', () => {
'.mov', '.mov',
'.mp3', '.mp3',
'.ogg', '.ogg',
'.wav',
'image/jpeg', 'image/jpeg',
'image/png', 'image/png',
'image/gif', 'image/gif',
@ -26,6 +27,7 @@ describe('media_attachments reducer', () => {
'audio/mp3', 'audio/mp3',
'audio/mpeg', 'audio/mpeg',
'audio/ogg', 'audio/ogg',
'audio/wav',
]), ]),
})); }));
}); });

View File

@ -18,6 +18,7 @@ const initialState = ImmutableMap({
'.mov', '.mov',
'.mp3', '.mp3',
'.ogg', '.ogg',
'.wav',
'image/jpeg', 'image/jpeg',
'image/png', 'image/png',
'image/gif', 'image/gif',
@ -28,6 +29,7 @@ const initialState = ImmutableMap({
'audio/mp3', 'audio/mp3',
'audio/mpeg', 'audio/mpeg',
'audio/ogg', 'audio/ogg',
'audio/wav',
]), ]),
}); });