forked from bitcoinafterlife/bal-website
Update index.html
Fix latest-release download links The homepage built the download and signature URLs from an outdated filename scheme (bal_<tag>.zip / .asc). Update them to the current release asset names: bal_electrum_plugin_<tag>.zip and .zip.sig.
This commit is contained in:
@@ -629,9 +629,9 @@ items.forEach(d => {
|
|||||||
if (data && data.tag_name) {
|
if (data && data.tag_name) {
|
||||||
const tag = data.tag_name;
|
const tag = data.tag_name;
|
||||||
link.textContent = tag;
|
link.textContent = tag;
|
||||||
link.href = 'https://bitcoin-after.life/gitea/bitcoinafterlife/bal-electrum-plugin/releases/download/' + tag + '/bal_' + tag + '.zip';
|
link.href = 'https://bitcoin-after.life/gitea/bitcoinafterlife/bal-electrum-plugin/releases/download/' + tag + '/bal_electrum_plugin_' + tag + '.zip';
|
||||||
if (sig) {
|
if (sig) {
|
||||||
sig.href = 'https://bitcoin-after.life/gitea/bitcoinafterlife/bal-electrum-plugin/releases/download/' + tag + '/bal_' + tag + '.zip.asc';
|
sig.href = 'https://bitcoin-after.life/gitea/bitcoinafterlife/bal-electrum-plugin/releases/download/' + tag + '/bal_electrum_plugin_' + tag + '.zip.sig';
|
||||||
sig.style.display = 'inline';
|
sig.style.display = 'inline';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user