yuanyiming 1 yıl önce
ebeveyn
işleme
07edda6c82
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app.js

+ 1 - 1
app.js

@@ -25,7 +25,7 @@ const upload = multer({
   })
 });
 
-// 接收文件上传的 POST 请求
+// 接收文件上传的 POST 请求 
 app.post('/img', upload.single('file'), (req, res) => {
   // console.log(req.file.location);
   res.json({ fileUrl: req.file.location }); // 返回上传后文件在S3中的URL