summaryrefslogtreecommitdiff
path: root/debug/filetyped.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/filetyped.c')
-rw-r--r--debug/filetyped.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug/filetyped.c b/debug/filetyped.c
index 2bb465b24..d15890ce4 100644
--- a/debug/filetyped.c
+++ b/debug/filetyped.c
@@ -43,6 +43,8 @@ const char *fetch_filetype(const char *unix_path)
return "image/png";
if (2 < l && strcasecmp(unix_path + l - 3, "jng") == 0)
return "image/jng";
+ if (2 < l && strcasecmp(unix_path + l - 3, "svg") == 0)
+ return "image/svg";
return "text/html";
}