summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--f3s/git-server/helm-chart/templates/configmap-cgit.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/f3s/git-server/helm-chart/templates/configmap-cgit.yaml b/f3s/git-server/helm-chart/templates/configmap-cgit.yaml
index 08561f3..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
@@ -21,6 +24,6 @@ data:
# Remove .git suffix from repository URLs
remove-suffix=1
- # Scan for repositories in /repos
+ # Scan for repositories in /repos/repos
# This must be the last setting in the file
- scan-path=/repos
+ scan-path=/repos/repos