nagose commited on
Commit
9491d75
·
verified ·
1 Parent(s): d728393

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +3 -3
index.js CHANGED
@@ -91,9 +91,9 @@ app.post('/upload', upload.single('file'), async (req, res) => {
91
  ctx.font = '20px WenQuanYi Zen Hei';
92
 
93
  const text = `
94
- File Name: ${fileName}
95
- File Type: ${fileType}
96
- File Size: ${fileBuffer.length} bytes
97
  Created At: ${new Date().toLocaleString('zh-CN', { timeZone: 'Asia/Shanghai' })}
98
  Created By: ${hostname}
99
  `;
 
91
  ctx.font = '20px WenQuanYi Zen Hei';
92
 
93
  const text = `
94
+ File Name: ${fileName}
95
+ File Type: ${fileType}
96
+ File Size: ${fileBuffer.length} bytes
97
  Created At: ${new Date().toLocaleString('zh-CN', { timeZone: 'Asia/Shanghai' })}
98
  Created By: ${hostname}
99
  `;