Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

Add video/mp4 and video/webm to MIME type array #228

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/backend/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ mimeTypeDict =
, ".m3u" ==> "audio/x-mpegurl"
, ".mov" ==> "video/quicktime"
, ".mp3" ==> "audio/mpeg"
, ".mp4" ==> "video/mp4"
, ".mpeg" ==> "video/mpeg"
, ".mpg" ==> "video/mpeg"
, ".ogg" ==> "application/ogg"
Expand All @@ -286,6 +287,7 @@ mimeTypeDict =
, ".txt" ==> "text/plain"
, ".wav" ==> "audio/x-wav"
, ".wax" ==> "audio/x-ms-wax"
, ".webm" ==> "video/webm"
, ".wma" ==> "audio/x-ms-wma"
, ".wmv" ==> "video/x-ms-wmv"
, ".xbm" ==> "image/x-xbitmap"
Expand Down