mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix API broken
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user