mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
parent
41819daaeb
commit
f100a21cc7
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@ const badgeUrl = computed(
|
|||
() => `${rootPath}/api/badges/${repo.value.id}/status.svg${branch.value !== '' ? `?branch=${branch.value}` : ''}`,
|
||||
);
|
||||
const repoUrl = computed(
|
||||
() => `/repos/${repo.value.id}${branch.value !== '' ? `/branches/${encodeURIComponent(branch.value)}` : ''}`,
|
||||
() =>
|
||||
`${rootPath}/repos/${repo.value.id}${branch.value !== '' ? `/branches/${encodeURIComponent(branch.value)}` : ''}`,
|
||||
);
|
||||
|
||||
const badgeContent = computed(() => {
|
||||
|
|
Loading…
Reference in a new issue