yuanyiming 1 年之前
父節點
當前提交
b124ddfbc8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app.js

+ 1 - 1
app.js

@@ -30,7 +30,7 @@ app.post('/img', upload.single('file'), (req, res) => {
   // console.log(req.file.location);
   // console.log(req.file.location);
   res.json({ fileUrl: req.file.location }); // 返回上传后文件在S3中的URL
   res.json({ fileUrl: req.file.location }); // 返回上传后文件在S3中的URL
 });
 });
-
+ 
 //app.use(router.routes()).use(router.allowedMethods());
 //app.use(router.routes()).use(router.allowedMethods());
 
 
 // 启动服务器
 // 启动服务器