From 94e2b74daca647c70e6e4b0581e5f960737f52e1 Mon Sep 17 00:00:00 2001 From: Joao Paulo Vieira Date: Mon, 28 Jul 2014 18:41:34 -0300 Subject: [PATCH] URL for GetDiff Handler --- webserver/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/webserver/main.go b/webserver/main.go index f135fc7..5b868e3 100644 --- a/webserver/main.go +++ b/webserver/main.go @@ -50,6 +50,7 @@ For an example conf check gandalf/etc/gandalf.conf file.\n %s` router.Get("/repository/:name/tree/:path", http.HandlerFunc(api.GetTree)) router.Get("/repository/:name/tree", http.HandlerFunc(api.GetTree)) router.Get("/repository/:name/branch", http.HandlerFunc(api.GetBranch)) + router.Get("/repository/:name/diff/commits", http.HandlerFunc(api.GetDiff)) router.Get("/healthcheck/", http.HandlerFunc(api.HealthCheck)) router.Post("/hook/:name", http.HandlerFunc(api.AddHook))