mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Recognize the standard MIME type for uploaded FLAC audio (#1290)
Before this change, Koel only recognized the non-standard MIME type audio/x-flac. Server-side portion of https://github.com/koel/core/pull/53.
This commit is contained in:
parent
0250970de0
commit
c9446c4adb
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class UploadRequest extends AbstractRequest
|
|||
'file' => [
|
||||
'required',
|
||||
'file',
|
||||
'mimetypes:audio/mpeg,audio/ogg,audio/x-flac,audio/x-aac',
|
||||
'mimetypes:audio/flac,audio/mpeg,audio/ogg,audio/x-flac,audio/x-aac',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue