1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

Merge remote-tracking branch 'origin/exp' into exp

This commit is contained in:
Brad Rydzewski 2014-10-08 20:59:07 -07:00
commit bb218a6268

View File

@ -81,6 +81,9 @@ func GetCC(c web.C, w http.ResponseWriter, r *http.Request) {
owner = c.URLParams["owner"]
name = c.URLParams["name"]
)
w.Header().Set("Content-Type", "image/svg+xml")
repo, err := datastore.GetRepoName(ctx, host, owner, name)
if err != nil {
w.Write(badgeNone)