IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Sfoglia il codice sorgente

Small but important fix computing file blocks.

master
parent
commit
fc2b9a91a4
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +1
    -1
      frontend/src/js/misc/wb-rootdir-wrapper.js
  2. +1
    -1
      frontend/src/js/page/wb-download-page.js

+ 1
- 1
frontend/src/js/misc/wb-rootdir-wrapper.js Vedi File

@@ -69,7 +69,7 @@ class WBRootDirWrapper {
for (let i = start; i < end; i++) {
const loc = stm[i];
res.push([ loc[0], Math.max(0, seg[1] - loc[1]),
Math.min(loc[2], seg[1] + seg[2] - loc[1]) ]);
Math.min(loc[2] - loc[1], seg[1] + seg[2] - loc[1]) ]);
}
return res;
}), file[1] ];


+ 1
- 1
frontend/src/js/page/wb-download-page.js Vedi File

@@ -95,7 +95,7 @@ class WBDownloadPage extends Component {
const blk = xhr_1.response.slice(loc[1], loc[2]);
// const r = new Response(blk);
// r.body.pipeTo(fileStream);
writer.write(new Uint8Array(blk));
return writer.write(new Uint8Array(blk));
});
}
return prom_1;


Loading…
Annulla
Salva