From e6757d9a618126213f7a3985c11c1bb1796983d2 Mon Sep 17 00:00:00 2001 From: Cris Ward Date: Sat, 11 Mar 2017 22:23:33 +0000 Subject: [PATCH] Added mime-type for favicons (#329) --- 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 11abc23..6dcab66 100644 --- a/src/kemal/helpers/utils.cr +++ b/src/kemal/helpers/utils.cr @@ -18,6 +18,7 @@ module Kemal when ".jpg", ".jpeg" then "image/jpeg" when ".gif" then "image/gif" when ".svg" then "image/svg+xml" + when ".ico" then "image/x-icon" when ".xml" then "application/xml" when ".json" then "application/json" when ".otf", ".ttf" then "application/font-sfnt"