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 b0aacc71b..a1c3876a9 100644
--- a/debug/filetyped.c
+++ b/debug/filetyped.c
@@ -29,6 +29,8 @@ const char *fetch_filetype(const char *unix_path)
return "image/gif";
if (2 < l && strcasecmp(unix_path + l - 3, "png") == 0)
return "image/png";
+ if (2 < l && strcasecmp(unix_path + l - 3, "jng") == 0)
+ return "image/jng";
return "text/html";
}