Hi all,

I like using cgit very much and especially love the ability to browse the tree with very natural URLs (unlike gitweb, which puts the tree path in a query argument), which would allow me to have, say, a JavaScript library with test pages that reference it relatively to work.

While /tree/ shows the source code in a friendly page, /plain/ sends the file always as text/plain if it's text, and as application/octet-stream if it isn't. Is there a way I can configure content-types that /plain/ sends, so, for example, HTML files are sent as text/html?

Thanks and best regards,
Delan Azabani

_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to