Skip to content
Permalink
Browse files
remove slash prefix from ref in badge link [ci skip]
  • Loading branch information
bradrydzewski committed May 2, 2019
1 parent 01fe10b commit 4f7f6c03d13d660038f6a54da913da602fb32b0e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -43,7 +43,7 @@ export default {
return this.$route.params.namespace + "/" + this.$route.params.name;
},
image() {
const branchSuffix = this.branch ? `?ref=/refs/heads/${this.branch}` : "";
const branchSuffix = this.branch ? `?ref=refs/heads/${this.branch}` : "";
return `${this.instance}/api/badges/${this.name}/status.svg${branchSuffix}`;
},
code() {

0 comments on commit 4f7f6c0

Please sign in to comment.