fix last commit

This commit is contained in:
zefie
2022-10-31 12:12:11 -04:00
parent 9512deb252
commit 9b8c0ccc2d
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ data += `
<upgradeblock width=250 height=15
nexturl="${flashrom_info.next_rompath}"
errorurl="${service_name}:/lc2-download-failed?"
blockurl="${flashrom_info.rompath}
blockurl="${flashrom_info.rompath}"
lastblock="${flashrom_info.is_last_part}"
curblock="${(flashrom_info.part_number + 1)}"${(flashrom_info.part_count) ? `
totalblocks="${flashrom_info.part_count}">` : `>`}

View File

@@ -129,7 +129,7 @@ class WTVFlashrom {
async getFlashromMeta(request_path, callback) {
// read 512 bytes of rom, and send result of getFlashromInfo
// to callback (in data), without headers
// to callback (in data)
this.getFlashRom(request_path, callback, 512);
}