Fix to allow Gerrit to download html files directly
Direct download of html files was not working because the gerrit config was missing a mimetype setting[1]. The code mirror documentation[2] indicates that it requires both 'application/xml' and 'text/html'. [1] https://gerrit-documentation.storage.googleapis.com/Documentation/ 2.11/config-gerrit.html#mimetype [2] https://codemirror.net/mode/xml/index.html Change-Id: Ia2c64533cf7cb268525e8e1db4bb77712db420f5
This commit is contained in:
parent
f7b9c992cd
commit
3da6822732
|
@ -153,6 +153,8 @@
|
|||
safe = true
|
||||
[mimetype "text/xml"]
|
||||
safe = true
|
||||
[mimetype "application/xml"]
|
||||
safe = true
|
||||
[mimetype "text/x-rst"]
|
||||
safe = true
|
||||
[mimetype "text/plain"]
|
||||
|
|
Loading…
Reference in New Issue