quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit 434f2b3067e759cf55b52da1a73f89c2ebb133cb
parent fc0873853cd23a59a7dc12f02111c57ad17d6433
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 27 Jun 2017 23:15:18 +0200

config.def.h: add jpeg alias, ogg audio mimetype

Diffstat:
Mconfig.def.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h @@ -20,7 +20,6 @@ static const struct { { "htm", "text/html; charset=UTF-8" }, { "css", "text/css" }, { "txt", "text/plain" }, - { "text", "text/plain" }, { "md", "text/plain" }, { "c", "text/plain" }, { "h", "text/plain" }, @@ -29,12 +28,14 @@ static const struct { { "pdf", "application/x-pdf" }, { "png", "image/png" }, { "gif", "image/gif" }, + { "jpeg", "image/jpg" }, { "jpg", "image/jpg" }, { "iso", "application/x-iso9660-image" }, { "webp", "image/webp" }, { "svg", "image/svg+xml" }, { "flac", "audio/flac" }, { "mp3", "audio/mpeg" }, + { "ogg", "audio/ogg" }, { "mp4", "video/mp4" }, { "ogv", "video/ogg" }, { "webm", "video/webm" },