commit f04929e729992dcc435370a60b5e92bcd5bdfe81
Author:     FRIGN <[email protected]>
AuthorDate: Fri Sep 2 11:08:54 2016 +0200
Commit:     FRIGN <[email protected]>
CommitDate: Fri Sep 2 11:09:49 2016 +0200

    Add a few more mime types

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" },
-       { "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" },
+       { "pdf",   "application/x-pdf" },
+       { "png",   "image/png" },
+       { "gif",   "image/gif" },
+       { "jpg",   "image/jpg" },
+       { "iso",   "application/x-iso9660-image" },
+       { "webp",  "image/webp" },
+       { "svg",   "image/svg+xml" },
+       { "flac",  "audio/flac" },
+       { "mp3",   "audio/mpeg" },
+       { "mp4",   "video/mp4" },
+       { "ogv",   "video/ogg" },
+       { "webm",  "video/webm" },
 };

Reply via email to