diff options
author | Alex Auvolat <alex@adnab.me> | 2022-02-05 14:15:02 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-02-05 14:15:02 +0100 |
commit | f645f6ab0721fb0d9c3b398d20ea0e1caa0681ae (patch) | |
tree | 951dabbd4fcec6275ae8289d9550517fe3c0d6ff | |
parent | 49e2a730d12c918ccebe88696a0d56be5172fcc5 (diff) | |
download | garagehq.deuxfleurs.fr-f645f6ab0721fb0d9c3b398d20ea0e1caa0681ae.tar.gz garagehq.deuxfleurs.fr-f645f6ab0721fb0d9c3b398d20ea0e1caa0681ae.zip |
Use URL instead of path
-rw-r--r-- | templates/download.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/download.html b/templates/download.html index 914c1a2..467cb79 100644 --- a/templates/download.html +++ b/templates/download.html @@ -108,7 +108,7 @@ for (j = 0; j < releaseBuilds[i]['builds'].length; j++) { 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> ${releaseBuilds[i]['builds'][j]['platform'] .replace('aarch64-unknown-linux-musl', 'linux/arm64') @@ -153,7 +153,7 @@ for (j = 0; j < extraBuilds[i]['builds'].length; j++) { 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> ${extraBuilds[i]['builds'][j]['platform'] .replace('aarch64-unknown-linux-musl', 'linux/arm64') @@ -198,7 +198,7 @@ for (j = 0; j < developmentBuilds[i]['builds'].length; j++) { 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> ${developmentBuilds[i]['builds'][j]['platform'] .replace('aarch64-unknown-linux-musl', 'linux/arm64') |