Verified Commit 3415d020 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed wrong mimetype for flac files

parent b3a6c6d7
......@@ -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'
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment