diff options
author | zeripath <art27@cantab.net> | 2019-05-28 11:32:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-28 11:32:41 +0100 |
commit | 31557b12744410633ceb6fc12b53fb09038cee35 (patch) | |
tree | 10cc9cc9bbae2b4e1562f93b22c16e3c245262f4 /routers | |
parent | 27b271d457f875ed76fae9660338f7df1013318a (diff) | |
download | gitea-31557b12744410633ceb6fc12b53fb09038cee35.tar.gz gitea-31557b12744410633ceb6fc12b53fb09038cee35.zip |
Fix LFS Locks over SSH (#6999)
* Fix LFS Locks over SSH
* Mark test as skipped
Diffstat (limited to 'routers')
-rw-r--r-- | routers/routes/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 5a5fc518b9..d19823714b 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -923,7 +923,7 @@ func RegisterRoutes(m *macaron.Macaron) { m.Post("/", lfs.PostLockHandler) m.Post("/verify", lfs.VerifyLockHandler) m.Post("/:lid/unlock", lfs.UnLockHandler) - }, context.RepoAssignment()) + }) m.Any("/*", func(ctx *context.Context) { ctx.NotFound("", nil) }) |