better pdf archiving
This commit is contained in:
+2
-1
@@ -34,7 +34,8 @@ export default async function archive(
|
||||
await Promise.all([
|
||||
page.pdf({
|
||||
path: archivePath + ".pdf",
|
||||
format: "a4",
|
||||
width: "1366px",
|
||||
height: "1931px",
|
||||
printBackground: true,
|
||||
margin: { top: "15px", bottom: "15px" },
|
||||
}),
|
||||
|
||||
@@ -73,8 +73,6 @@ export default async function postLink(
|
||||
})),
|
||||
},
|
||||
title,
|
||||
screenshotPath: "",
|
||||
pdfPath: "",
|
||||
},
|
||||
include: { tags: true, collection: true },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user