X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/42c4ef158ac51f01f071a285e4a131acbf753ab9..4da754586b4529a4480951218a69ec6f41fee98d:/services/arv-git-httpd/git_handler.go diff --git a/services/arv-git-httpd/git_handler.go b/services/arv-git-httpd/git_handler.go index 0312b296fc..f0b98fab72 100644 --- a/services/arv-git-httpd/git_handler.go +++ b/services/arv-git-httpd/git_handler.go @@ -19,11 +19,11 @@ func newGitHandler() http.Handler { return &gitHandler{ Handler: cgi.Handler{ Path: theConfig.GitCommand, - Dir: theConfig.Root, + Dir: theConfig.RepoRoot, Env: []string{ - "GIT_PROJECT_ROOT=" + theConfig.Root, + "GIT_PROJECT_ROOT=" + theConfig.RepoRoot, "GIT_HTTP_EXPORT_ALL=", - "SERVER_ADDR=" + theConfig.Addr, + "SERVER_ADDR=" + theConfig.Listen, }, InheritEnv: []string{ "PATH",