mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-05 18:05:19 +02:00
Fix API broken
This commit is contained in:
parent
9e3a1bc11a
commit
3abc41ccca
10 changed files with 12 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue