浏览代码

strinbgify

master
Rich Brown 1年前
父节点
当前提交
b4f3a3bc39
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      routes/createRouter.js

+ 1
- 2
routes/createRouter.js 查看文件

@@ -35,8 +35,7 @@ createRouter.post('/form', upload.single('file'), (req, res) => {
name: title, // i thought MF syntax was 'p-name' but voxpelli's formattr turns NAME to TITLE
content: body,
category: arrayOfTags,
'photo.filename': file.originalname,
'photo.buffer': file.buffer,
photo: JSON.stringify(file),
},
'multipart',
)


正在加载...
取消
保存