src.nth.io/

summaryrefslogtreecommitdiff
path: root/git/web/templates/cgitrc.j2
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-04-18 15:42:41 -0500
committerLuke Hoersten <[email protected]>2026-04-18 15:42:41 -0500
commitfd4cc06d93bbcfb374c787a258c04351e33f6653 (patch)
tree53f0a3020991ecbc8b2f33169466ad3e70b32819 /git/web/templates/cgitrc.j2
parentd609c10d0f93817d30608b6bb64fd07848c25705 (diff)
Fix cgit duplicate repo name in URLs by setting virtual-root=/
Diffstat (limited to 'git/web/templates/cgitrc.j2')
-rw-r--r--git/web/templates/cgitrc.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/git/web/templates/cgitrc.j2 b/git/web/templates/cgitrc.j2
index a75e3f3..76a91d6 100644
--- a/git/web/templates/cgitrc.j2
+++ b/git/web/templates/cgitrc.j2
@@ -1,5 +1,6 @@
scan-path={{cgit_scan_path}}
remove-suffix=1
+virtual-root=/
root-title={{cgit_root_title}}
root-desc={{cgit_root_desc}}