fix last commit
This commit is contained in:
@@ -103,7 +103,7 @@ data += `
|
|||||||
<upgradeblock width=250 height=15
|
<upgradeblock width=250 height=15
|
||||||
nexturl="${flashrom_info.next_rompath}"
|
nexturl="${flashrom_info.next_rompath}"
|
||||||
errorurl="${service_name}:/lc2-download-failed?"
|
errorurl="${service_name}:/lc2-download-failed?"
|
||||||
blockurl="${flashrom_info.rompath}
|
blockurl="${flashrom_info.rompath}"
|
||||||
lastblock="${flashrom_info.is_last_part}"
|
lastblock="${flashrom_info.is_last_part}"
|
||||||
curblock="${(flashrom_info.part_number + 1)}"${(flashrom_info.part_count) ? `
|
curblock="${(flashrom_info.part_number + 1)}"${(flashrom_info.part_count) ? `
|
||||||
totalblocks="${flashrom_info.part_count}">` : `>`}
|
totalblocks="${flashrom_info.part_count}">` : `>`}
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ class WTVFlashrom {
|
|||||||
|
|
||||||
async getFlashromMeta(request_path, callback) {
|
async getFlashromMeta(request_path, callback) {
|
||||||
// read 512 bytes of rom, and send result of getFlashromInfo
|
// 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);
|
this.getFlashRom(request_path, callback, 512);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user