1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-24 19:28:38 +00:00

Fix LFS Locks over SSH (#6999) (#7223)

* Fix LFS Locks over SSH
* Mark test as skipped
This commit is contained in:
zeripath
2019-06-17 14:54:49 +01:00
committed by GitHub
parent 7697a282d6
commit dbd0a2e6dc
3 changed files with 150 additions and 69 deletions

View File

@@ -827,7 +827,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)
})