From 249798531e0cbd338686cff52df1172aed3cc4a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 23 Dec 2021 09:10:13 +0000 Subject: roles/cgit: Fix favicon location and mimetypes --- roles/cgit/templates/cgitrc.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'roles/cgit/templates') diff --git a/roles/cgit/templates/cgitrc.j2 b/roles/cgit/templates/cgitrc.j2 index 2b01ef4..953494d 100644 --- a/roles/cgit/templates/cgitrc.j2 +++ b/roles/cgit/templates/cgitrc.j2 @@ -41,3 +41,12 @@ snapshots=tar.gz section-from-path=1 section-sort=1 scan-path={{ cgit_git_dir }} + +# mimetypes +mimetype.gif=image/gif +mimetype.html=text/html +mimetype.jpg=image/jpeg +mimetype.jpeg=image/jpeg +mimetype.pdf=application/pdf +mimetype.png=image/png +mimetype.svg=image/svg+xml -- cgit v1.2.3