From 5ff1fdc10af85342cc2d2785979a6f00342c8e5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E6=B5=B7=E6=B4=8B?= Date: Sun, 24 May 2026 15:54:04 +0800 Subject: [PATCH] img --- routes/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/upload.js b/routes/upload.js index a3e8dc3..d1b7c21 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/img/uploads/${ctx.file.filename}` + const fileUrl = `https://donghy.top/img/${ctx.file.filename}` ctx.body = { code: 200, message: '上传成功**',