diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-09 20:35:37 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-09 20:35:37 +0200 |
| commit | ba13a691ee8afd93ac0afc22a816fb4e4f12d0d2 (patch) | |
| tree | 0aff860fe42c4709ec60b1d6227cf0bec5aa82b1 /f3s/git-server | |
| parent | 4a4ce7a128e7b917efa8ca1a4333c666c0b073a6 (diff) | |
Fix cgit URL generation by setting virtual-root
Added virtual-root=/ to cgitrc to prevent duplicate path segments
in generated URLs. This fixes the "Invalid request" error when
clicking links in the cgit web interface.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'f3s/git-server')
| -rw-r--r-- | f3s/git-server/helm-chart/templates/configmap-cgit.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/f3s/git-server/helm-chart/templates/configmap-cgit.yaml b/f3s/git-server/helm-chart/templates/configmap-cgit.yaml index 840bb9b..9aba781 100644 --- a/f3s/git-server/helm-chart/templates/configmap-cgit.yaml +++ b/f3s/git-server/helm-chart/templates/configmap-cgit.yaml @@ -12,6 +12,9 @@ data: root-title=f3s Git Repository Browser root-desc=Browse git repositories in f3s cluster + # Set the virtual root for correct URL generation + virtual-root=/ + # Disable caching to avoid permission issues cache-size=0 |
