mirror of
https://github.com/ae-utbm/sith.git
synced 2026-02-16 04:18:17 +00:00
update JS dependencies
This commit is contained in:
@@ -30,7 +30,7 @@ document.addEventListener("alpine:init", () => {
|
||||
const zipWriter = new ZipWriter(await fileHandle.createWritable());
|
||||
|
||||
await Promise.all(
|
||||
this.downloadPictures.map(async (p: PictureSchema) => {
|
||||
this.downloadPictures.map((p: PictureSchema) => {
|
||||
const imgName = `${p.album.name}/IMG_${p.id}_${p.date.replace(/[:\-]/g, "_")}${p.name.slice(p.name.lastIndexOf("."))}`;
|
||||
return zipWriter.add(imgName, new HttpReader(p.full_size_url), {
|
||||
level: 9,
|
||||
|
||||
Reference in New Issue
Block a user