diff options
Diffstat (limited to 'routers/web/githttp.go')
-rw-r--r-- | routers/web/githttp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/githttp.go b/routers/web/githttp.go index 5f1dedce76..102c92e120 100644 --- a/routers/web/githttp.go +++ b/routers/web/githttp.go @@ -25,7 +25,7 @@ func requireSignIn(ctx *context.Context) { } } -func gitHTTPRouters(m *web.Route) { +func gitHTTPRouters(m *web.Router) { m.Group("", func() { m.Methods("POST,OPTIONS", "/git-upload-pack", repo.ServiceUploadPack) m.Methods("POST,OPTIONS", "/git-receive-pack", repo.ServiceReceivePack) |