From 360035b8f17a0435148b0a5eb8dd67d0eb6fc333 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sat, 16 Aug 2025 05:21:00 +0000 Subject: cgitrc: since $HTTP_HOST does not work, use the other clone-prefix config has less code --- etc/cgitrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/cgitrc') diff --git a/etc/cgitrc b/etc/cgitrc index 38c7d860..1b439c53 100644 --- a/etc/cgitrc +++ b/etc/cgitrc @@ -21,8 +21,8 @@ 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://git.flylightning.xyz/$CGIT_REPO_URL https://codeberg.org/flyxyz123/$CGIT_REPO_URL -#clone-prefix=https://git.flylightning.xyz/ https://codeberg.org/flyxyz123/ +#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 css=/mycgit.css -- cgit v1.2.3-70-g09d2