diff --git a/routes/upload.js b/routes/upload.js index ba93595..6977e22 100644 --- a/routes/upload.js +++ b/routes/upload.js @@ -36,7 +36,7 @@ router.post('/', upload.single('file'), async (ctx) => { return } - const fileUrl = `http://localhost:3005/uploads/${ctx.file.filename}` + const fileUrl = `http://110.42.255.239:3005/uploads/${ctx.file.filename}` ctx.body = { code: 200, message: '上传成功',