git/server: Set projectroot in environment

This commit is contained in:
Timo Makinen 2021-08-25 15:09:03 +00:00
parent 9ba2fa35df
commit eb61bb9448
2 changed files with 3 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# location of git repos
our $projectroot = "/srv/git";
# read git repo root from env or use default
our $projectroot = $ENV{'GITWEB_PROJECTROOT'};
# site name
our $site_name = "foo.sh - Public GIT repositories";