Use URL instead of path
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
49e2a730d1
commit
f645f6ab07
1 changed files with 3 additions and 3 deletions
|
@ -108,7 +108,7 @@
|
||||||
for (j = 0; j < releaseBuilds[i]['builds'].length; j++) {
|
for (j = 0; j < releaseBuilds[i]['builds'].length; j++) {
|
||||||
window['buildDetail' + i] =
|
window['buildDetail' + i] =
|
||||||
`
|
`
|
||||||
<a href="${releaseBuilds[i]['builds'][j]['path']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
|
<a href="${releaseBuilds[i]['builds'][j]['url']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
|
||||||
<span>
|
<span>
|
||||||
${releaseBuilds[i]['builds'][j]['platform']
|
${releaseBuilds[i]['builds'][j]['platform']
|
||||||
.replace('aarch64-unknown-linux-musl', 'linux/arm64')
|
.replace('aarch64-unknown-linux-musl', 'linux/arm64')
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
for (j = 0; j < extraBuilds[i]['builds'].length; j++) {
|
for (j = 0; j < extraBuilds[i]['builds'].length; j++) {
|
||||||
window['buildDetail' + i] =
|
window['buildDetail' + i] =
|
||||||
`
|
`
|
||||||
<a href="${extraBuilds[i]['builds'][j]['path']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
|
<a href="${extraBuilds[i]['builds'][j]['url']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
|
||||||
<span>
|
<span>
|
||||||
${extraBuilds[i]['builds'][j]['platform']
|
${extraBuilds[i]['builds'][j]['platform']
|
||||||
.replace('aarch64-unknown-linux-musl', 'linux/arm64')
|
.replace('aarch64-unknown-linux-musl', 'linux/arm64')
|
||||||
|
@ -198,7 +198,7 @@
|
||||||
for (j = 0; j < developmentBuilds[i]['builds'].length; j++) {
|
for (j = 0; j < developmentBuilds[i]['builds'].length; j++) {
|
||||||
window['buildDetail' + i] =
|
window['buildDetail' + i] =
|
||||||
`
|
`
|
||||||
<a href="${developmentBuilds[i]['builds'][j]['path']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
|
<a href="${developmentBuilds[i]['builds'][j]['url']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
|
||||||
<span>
|
<span>
|
||||||
${developmentBuilds[i]['builds'][j]['platform']
|
${developmentBuilds[i]['builds'][j]['platform']
|
||||||
.replace('aarch64-unknown-linux-musl', 'linux/arm64')
|
.replace('aarch64-unknown-linux-musl', 'linux/arm64')
|
||||||
|
|
Loading…
Reference in a new issue