Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Document virtual-root's default of SCRIPT_NAME
cgit falls back to SCRIPT_NAME followed by a slash when virtual-root
is unset, so its links always take the path form and none take the
?url= form the docs described.
Diffstat (limited to 'custom')
| -rw-r--r-- | custom/cgitrc | 4 |
1 file changed, 2 insertions, 2 deletions
diff --git a/custom/cgitrc b/custom/cgitrc index 4b4dd4c..23e3072 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -124,8 +124,8 @@ enable-header=1 # or 1. Default is 0. embedded=0 -# Root url for all cgit links, enabling virtual urls. Value is a url path. -# Default is none. +# Root url for all cgit links. Value is a url path. Default is SCRIPT_NAME +# followed by a slash. #virtual-root=/ # Link format string for submodules in directory listings. Value is a format |
