Skip to content
Snippets Groups Projects
Verified Commit 3415d020 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed wrong mimetype for flac files

parent b3a6c6d7
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ def compute_status(jobs):
AUDIO_EXTENSIONS_AND_MIMETYPE = [
('ogg', 'audio/ogg'),
('mp3', 'audio/mpeg'),
('flac', 'audio/flac'),
('flac', 'audio/x-flac'),
]
EXTENSION_TO_MIMETYPE = {ext: mt for ext, mt in AUDIO_EXTENSIONS_AND_MIMETYPE}
......
......@@ -6,6 +6,6 @@ export default {
formatsMap: {
'audio/ogg': 'ogg',
'audio/mpeg': 'mp3',
'audio/flac': 'flac'
'audio/x-flac': 'flac'
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment