Skip to content

Commit 863f2cb

Browse files
authored
fix: Erroneous apostrophe preventing firmware updates
This commit fixes an accidentally-left-in apostrophe that is preventing the firmware updater app from downloading firmware, as it uses the URL the user clicked, which will end with an apostrophe, which makes it not match .zip or .hex.
1 parent 486a6e6 commit 863f2cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/fwupdate/custom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
releaseFiles.sort().reverse().forEach(function(f) {
178178
var name = f.substr(f.substr(0,f.length-1).lastIndexOf('/')+1);
179179
console.log("Found "+name);
180-
domFirmwareList.innerHTML += `<li>Release${getDescription(name)}: <a href="${f}'" class="fw-link">${name}</a></li>`;
180+
domFirmwareList.innerHTML += `<li>Release${getDescription(name)}: <a href="${f}" class="fw-link">${name}</a></li>`;
181181
domFirmware.style = "";
182182
});
183183
getFilesFromURL("https://www.espruino.com/binaries/travis/master/",regex, function(travisFiles) {

0 commit comments

Comments
 (0)