10078: Update recent_collections so that the collection query it is not executed...
[arvados.git] / services / arv-git-httpd / git_handler.go
index 0312b296fc938da2f4950de7ca9240a5c0550825..f0b98fab72382dfa02c2b12a144e2a6b9f5190c4 100644 (file)
@@ -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",