From fe4d178fb46f11a4eb29afcf5d9ff98b3a19d431 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Fri, 16 Oct 2015 21:24:19 +0200 Subject: [PATCH] Fix #366 SVG content type --- system/src/Grav/Common/Utils.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/src/Grav/Common/Utils.php b/system/src/Grav/Common/Utils.php index ac000cfe7..ec8fff972 100644 --- a/system/src/Grav/Common/Utils.php +++ b/system/src/Grav/Common/Utils.php @@ -283,6 +283,9 @@ abstract class Utils case "tiff": return "image/" . $extension; + case "svg": + return "image/svg+xml"; + case "css": return "text/css";