1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix LFS Locks over SSH (#6999)

* Fix LFS Locks over SSH
* Mark test as skipped
This commit is contained in:
zeripath
2019-05-28 11:32:41 +01:00
committed by GitHub
parent 27b271d457
commit 31557b1274
3 changed files with 150 additions and 69 deletions

View File

@@ -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)
})