Add initial hook handler

This commit is contained in:
Nurahmadie
2014-03-30 16:26:53 +00:00
parent 15770e6237
commit e2a45df3b8
2 changed files with 110 additions and 1 deletions

View File

@@ -197,7 +197,7 @@ func setupHandlers() {
m.Post("/hook/bitbucket.org", handler.ErrorHandler(hookHandler.HookBitbucket))
// handlers for GitLab post-commit hooks
//m.Post("/hook/gitlab", handler.ErrorHandler(gitlab.Hook))
m.Post("/hook/gitlab", handler.ErrorHandler(gitlab.Hook))
// handlers for first-time installation
m.Get("/install", handler.ErrorHandler(handler.Install))