summaryrefslogtreecommitdiff
path: root/etc/cgitrc
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-08-15 07:56:32 +0000
committerXiao Pan <xyz@flylightning.xyz>2025-08-15 07:56:32 +0000
commit893ab02c64b4e5246020f3b17dca7de713cfb00a (patch)
tree5f7c216638e5f91d6f748fc49542e9fac3c50b26 /etc/cgitrc
parent14bfc9d2e3941092778da303c2d4cbf867190b3a (diff)
cgitrc $HTTP_HOST not working now
Diffstat (limited to 'etc/cgitrc')
-rw-r--r--etc/cgitrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/cgitrc b/etc/cgitrc
index caafbf67..38c7d860 100644
--- a/etc/cgitrc
+++ b/etc/cgitrc
@@ -21,8 +21,7 @@ virtual-root=/
#enable-subject-links=1
# `man cgitrc` uses $CGIT_REPO_URL instead of $CGIT_REPO_NAME, I guess maybe because repo name can be different from repo url?
-clone-url=https://$HTTP_HOST/$CGIT_REPO_URL https://codeberg.org/flyxyz123/$CGIT_REPO_URL
-# $HTTP_HOST not working for clone-prefix, not sure why, therefore I prefer clone-url over clone-prefix
+clone-url=https://git.flylightning.xyz/$CGIT_REPO_URL https://codeberg.org/flyxyz123/$CGIT_REPO_URL
#clone-prefix=https://git.flylightning.xyz/ https://codeberg.org/flyxyz123/
source-filter=/usr/lib/cgit/filters/syntax-highlighting-edited.sh