Skip to content

Commit

Permalink
Update installer2.html
Browse files Browse the repository at this point in the history
  • Loading branch information
alf45tar authored Oct 5, 2024
1 parent 2eab099 commit 8eea6ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer2.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ <h1>PedalinoMini™ Installer</h1>

for (const tag of tags) {
const version = tag.ref.split('/').pop().replace('v', '');
const url = `https://raw.githubusercontent.com/${GITHUB_REPO}/${tag.ref.split('/').pop()}/firmware/${boardKey}/${boardKey}-${version}.json`;
const url = `https://raw.githubusercontent.com/${GITHUB_REPO}/${version}/firmware/${boardKey}/${boardKey}-${version}.json`;

const exists = await checkFileExists(url);
if (exists) {
Expand All @@ -194,7 +194,7 @@ <h1>PedalinoMini™ Installer</h1>
// Populate the version dropdown
versions.forEach(version => {
const option = document.createElement('option');
option.value = version;
option.value = `https://raw.githubusercontent.com/${GITHUB_REPO}/${version}/firmware/${boardKey}/${boardKey}-${version}.json`;
option.textContent = version;
versionSelect.appendChild(option);
});
Expand Down

0 comments on commit 8eea6ab

Please sign in to comment.