From c62dd42c1a856c2a0fe9fede9f0acb9989827164 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:52:09 -0700 Subject: Correct two fallbacks the sample config states cgit_snapshot_prefix falls back to the basename of the repository url, and print_object sends a binary blob as application/octet-stream. --- custom/cgitrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'custom') diff --git a/custom/cgitrc b/custom/cgitrc index 99055e4..8cdf62e 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -222,8 +222,8 @@ enable-remote-branches=0 # 1. Default is 0. enable-subject-links=0 -# Allow /plain to serve HTML mimetypes instead of downgrading to text/plain. -# Values are 0 or 1. Default is 0. +# Allow /plain to serve HTML mimetypes instead of downgrading to text/plain or +# application/octet-stream. Values are 0 or 1. Default is 0. enable-html-serving=0 # Generate line-number links for plaintext blobs in the tree and blame pages. @@ -448,7 +448,7 @@ age-file=info/web/last-modified #repo.section=main # Prefix for snapshot filenames instead of the repository basename. Value is a -# prefix string. Default is none. +# prefix string. Default is the repository basename. #repo.snapshot-prefix=example # Extra content added verbatim to the head of each page for this repository. -- cgit