Update index.js
Browse files
index.js
CHANGED
@@ -100,7 +100,7 @@ Created At: ${new Date().toLocaleString('zh-CN', { timeZone: 'Asia/Shanghai' })}
|
|
100 |
Created By: ${hostname}
|
101 |
`;
|
102 |
|
103 |
-
ctx.fillText(text.trim(), 10,
|
104 |
const rawImageData = canvas.toBuffer('image/jpeg', { quality: 0.75 });
|
105 |
|
106 |
const finalBuffer = Buffer.concat([rawImageData, zipBuffer]);
|
|
|
100 |
Created By: ${hostname}
|
101 |
`;
|
102 |
|
103 |
+
ctx.fillText(text.trim(), 10, 50);
|
104 |
const rawImageData = canvas.toBuffer('image/jpeg', { quality: 0.75 });
|
105 |
|
106 |
const finalBuffer = Buffer.concat([rawImageData, zipBuffer]);
|