nagose commited on
Commit
3dfee8f
·
verified ·
1 Parent(s): b32603b

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
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, 100);
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]);