fix(verify-page): export (download) files now includes files

The issue was noticed on the windows machine, removing forward slash made it work
This commit is contained in:
enes 2024-08-15 16:44:53 +02:00
parent 78060fa15f
commit 7278485b76

View File

@ -15,7 +15,7 @@ const getZipWithFiles = async (
for (const [fileName, pdf] of Object.entries(files)) {
const pages = await addMarks(pdf.file, marksByPage)
const blob = await convertToPdfBlob(pages)
zip.file(`/files/${fileName}`, blob)
zip.file(`files/${fileName}`, blob)
}
return zip