img
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ router.post('/', upload.single('file'), async (ctx) => {
|
||||
return
|
||||
}
|
||||
|
||||
const fileUrl = `https://donghy.top/img/uploads/${ctx.file.filename}`
|
||||
const fileUrl = `https://donghy.top/img/${ctx.file.filename}`
|
||||
ctx.body = {
|
||||
code: 200,
|
||||
message: '上传成功**',
|
||||
|
||||
Reference in New Issue
Block a user