We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ace6e74 + 739dbc6 commit f5e0edcCopy full SHA for f5e0edc
2 files changed
.gitignore
@@ -68,3 +68,7 @@ yarn-error.log
68
.pnp.js
69
# Yarn Integrity file
70
.yarn-integrity
71
+
72
+# Thumbnails
73
+static/static/thumbnail/*.jpg
74
+!static/static/thumbnail/thumbnail.jpg
scripts/thumbnail.js
@@ -103,6 +103,10 @@ const main = async () => {
103
</body>
104
</html>
105
`
106
+ page.setExtraHTTPHeaders({
107
+ "Accept-Charset": "utf-8",
108
+ "Content-Type": "text/html; charset=utf-8",
109
+ })
110
await page.setContent(imgHTML)
111
await page.screenshot({
112
type: "jpeg",
0 commit comments