on master help sign in
add more file formats to reactor

Fixes https://github.com/elm/compiler/issues/1942 Fixes https://github.com/elm-lang/elm-reactor/issues/190 Fixes https://github.com/elm-lang/elm-reactor/issues/224 Fixes https://github.com/elm-lang/elm-reactor/pull/228

commitd86b5e6b224026345a5eedbc6628936297f5b070 authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 29 Jul 2019, 11:00 (7 years ago) parent11ffbf5
1 file changed+3
terminal/src/Develop.hs+3
terminal/src/Develop.hs+3
@@ -218,6 +218,7 @@ mimeTypeDict =
218218 , ".m3u" ==> "audio/x-mpegurl"
219219 , ".mov" ==> "video/quicktime"
220220 , ".mp3" ==> "audio/mpeg"
221+ , ".mp4" ==> "video/mp4"
221222 , ".mpeg" ==> "video/mpeg"
222223 , ".mpg" ==> "video/mpeg"
223224 , ".ogg" ==> "application/ogg"
@@ -241,6 +242,8 @@ mimeTypeDict =
241242 , ".txt" ==> "text/plain"
242243 , ".wav" ==> "audio/x-wav"
243244 , ".wax" ==> "audio/x-ms-wax"
245+ , ".webm" ==> "video/webm"
246+ , ".webp" ==> "image/webp"
244247 , ".wma" ==> "audio/x-ms-wma"
245248 , ".wmv" ==> "video/x-ms-wmv"
246249 , ".woff" ==> "font/woff"