From f04929e729992dcc435370a60b5e92bcd5bdfe81 Mon Sep 17 00:00:00 2001 From: FRIGN Date: Fri, 2 Sep 2016 11:08:54 +0200 Subject: [PATCH] Add a few more mime types --- config.def.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/config.def.h b/config.def.h index d7237af..fe74ced 100644 --- a/config.def.h +++ b/config.def.h @@ -16,20 +16,25 @@ static const struct { { "xml", "application/xml" }, { "xhtml", "application/xhtml+xml" }, { "html", "text/html; charset=UTF-8" }, - { "html", "text/html; charset=UTF-8" }, { "htm", "text/html; charset=UTF-8" }, { "css", "text/css" }, { "txt", "text/plain" }, { "text", "text/plain" }, { "md", "text/plain" }, + { "c", "text/plain" }, + { "h", "text/plain" }, + { "gz", "application/x-gtar" }, + { "tar", "application/tar" }, + { "pdf", "application/x-pdf" }, { "png", "image/png" }, { "gif", "image/gif" }, { "jpg", "image/jpg" }, - { "c", "text/plain" }, - { "h", "text/plain" }, { "iso", "application/x-iso9660-image" }, - { "gz", "application/x-gtar" }, - { "pdf", "application/x-pdf" }, - { "tar", "application/tar" }, - { "mp3", "audio/mp3" }, + { "webp", "image/webp" }, + { "svg", "image/svg+xml" }, + { "flac", "audio/flac" }, + { "mp3", "audio/mpeg" }, + { "mp4", "video/mp4" }, + { "ogv", "video/ogg" }, + { "webm", "video/webm" }, };