Display images in reviews

Due to the gerrit release notes it's support starting from 2.0.17:

GERRIT-139 Allow mimetype.NAME.safe to enable viewing files

https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#mimetype

Change-Id: I28329d82cdbefb838748f4cf91ca79c83bd93e73
This commit is contained in:
Sergey Lukjanov 2014-04-24 12:52:50 +04:00
parent bf22fdc8d5
commit 904821c27b

View File

@ -121,3 +121,5 @@
[index]
type = <%= secondary_index_type %>
<% end -%>
[mimetype "image/*"]
safe = true