From 25e80e2b449b2c661b4ef46155c5741790bbec1d Mon Sep 17 00:00:00 2001 From: Artur Rodrigues Date: Tue, 11 Mar 2014 16:02:39 -0300 Subject: [PATCH] Serve the corrent badge in droned's routes --- cmd/droned/drone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/droned/drone.go b/cmd/droned/drone.go index a2a9b86ab..c76a131a9 100644 --- a/cmd/droned/drone.go +++ b/cmd/droned/drone.go @@ -209,7 +209,7 @@ func setupHandlers() { m.Get("/:host/:owner/:name/commit/:commit/build/:label", handler.RepoHandler(handler.CommitShow)) m.Get("/:host/:owner/:name/commit/:commit", handler.RepoHandler(handler.CommitShow)) m.Get("/:host/:owner/:name/tree", handler.RepoHandler(handler.RepoDashboard)) - m.Get("/:host/:owner/:name/status.png", handler.ErrorHandler(handler.Badge)) + m.Get("/:host/:owner/:name/status.svg", handler.ErrorHandler(handler.Badge)) m.Get("/:host/:owner/:name/settings", handler.RepoAdminHandler(handler.RepoSettingsForm)) m.Get("/:host/:owner/:name/params", handler.RepoAdminHandler(handler.RepoParamsForm)) m.Get("/:host/:owner/:name/badges", handler.RepoAdminHandler(handler.RepoBadges))