summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@softwarelivre.org>2017-04-06 17:01:05 -0300
committerAntonio Terceiro <terceiro@softwarelivre.org>2017-04-06 17:01:05 -0300
commit153767346bd40539dd5d44749c6fc608db37c596 (patch)
tree36d0053397305e563aceb7ea0969e861675f3021
parentda927c401a37fa0691162252b8d2aa2c6a1dcd68 (diff)
serve images and PDF with the correct mime type
-rw-r--r--cgitrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
index 58ec0f4..ec65210 100644
--- a/cgitrc
+++ b/cgitrc
@@ -8,3 +8,9 @@ clone-url=https://$HTTP_HOST/$CGIT_REPO_URL
scan-path=/data/git
enable-index-owner=0
+
+mimetype.svg=image/svg+xml
+mimetype.png=image/png
+mimetype.jpg=image/jpeg
+mimetype.gif=image/gif
+mimetype.pdf=application/pdf