diff --git a/routes/upload.js b/routes/upload.js index 6d5bfd8..a3e8dc3 100644 --- a/routes/upload.js +++ b/routes/upload.js @@ -36,7 +36,7 @@ router.post('/', upload.single('file'), async (ctx) => { return } - const fileUrl = `https://donghy.top/uploads/${ctx.file.filename}` + const fileUrl = `https://donghy.top/img/uploads/${ctx.file.filename}` ctx.body = { code: 200, message: '上传成功**',