Skip to content

Commit

Permalink
update downloadImagesAsZip
Browse files Browse the repository at this point in the history
  • Loading branch information
seadfeng committed Aug 27, 2024
1 parent d01c4b2 commit e878cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/frontend/page/home/results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const downloadImagesAsZip = async (icons: { href: string, sizes?: string }[], do
if (/^data:image\//.test(href)) {
return addBase64Image({ zip: folder!, base64Data: href, domain, index, sizes });
} else {
return await addUrlImage({ zip: folder!, href, domain, index, sizes });
return await addUrlImage({ zip: folder!, href: `/download/${href}`, domain, index, sizes });
}
});

Expand Down

0 comments on commit e878cd1

Please sign in to comment.