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:
parent
78060fa15f
commit
7278485b76
@ -15,7 +15,7 @@ const getZipWithFiles = async (
|
|||||||
for (const [fileName, pdf] of Object.entries(files)) {
|
for (const [fileName, pdf] of Object.entries(files)) {
|
||||||
const pages = await addMarks(pdf.file, marksByPage)
|
const pages = await addMarks(pdf.file, marksByPage)
|
||||||
const blob = await convertToPdfBlob(pages)
|
const blob = await convertToPdfBlob(pages)
|
||||||
zip.file(`/files/${fileName}`, blob)
|
zip.file(`files/${fileName}`, blob)
|
||||||
}
|
}
|
||||||
|
|
||||||
return zip
|
return zip
|
||||||
|
Loading…
Reference in New Issue
Block a user