From 1423c96d0a6caff434876da08bfdbf02de3e0552 Mon Sep 17 00:00:00 2001 From: Cris Ward Date: Thu, 28 Sep 2017 11:13:55 +0100 Subject: [PATCH] Allows videos to be opened with correct mime type --- src/kemal/helpers/utils.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kemal/helpers/utils.cr b/src/kemal/helpers/utils.cr index 9764dec..a107a5c 100644 --- a/src/kemal/helpers/utils.cr +++ b/src/kemal/helpers/utils.cr @@ -24,6 +24,7 @@ module Kemal when ".otf", ".ttf" then "application/font-sfnt" when ".woff" then "application/font-woff" when ".woff2" then "font/woff2" + when ".mp4" then "video/mp4" else "application/octet-stream" end end