summaryrefslogtreecommitdiffstats
path: root/routers/repo/http.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-10-18 23:26:55 -0400
committerUnknwon <joe2010xtmf@163.com>2014-10-18 23:26:55 -0400
commit3abc41cccab2486012b46305827433ad6f5deade (patch)
tree91f34bbc2dcfe9266039aafdddbb6be45c7464f4 /routers/repo/http.go
parent9e3a1bc11af8ab95a4d6b47607a89207941a3119 (diff)
downloadgitea-3abc41cccab2486012b46305827433ad6f5deade.tar.gz
gitea-3abc41cccab2486012b46305827433ad6f5deade.zip
Fix API broken
Diffstat (limited to 'routers/repo/http.go')
-rw-r--r--routers/repo/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/http.go b/routers/repo/http.go
index 81b49bf309..3641f4dae6 100644
--- a/routers/repo/http.go
+++ b/routers/repo/http.go
@@ -204,7 +204,7 @@ func Http(ctx *middleware.Context) {
config := Config{setting.RepoRootPath, "git", true, true, f}
handler := HttpBackend(&config)
- handler(ctx.Resp, ctx.Req)
+ handler(ctx.Resp, ctx.Req.Request)
}
type route struct {