From c1cb6f459012e2252a68d89e4b5b0e3f6a5c41eb Mon Sep 17 00:00:00 2001 From: zhouxin Date: Fri, 23 Dec 2022 10:18:59 +0800 Subject: [PATCH] =?UTF-8?q?(*)=E5=8E=BB=E6=8E=89console.log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/routes/attachment/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/routes/attachment/index.js b/web/routes/attachment/index.js index 9be76f3..efd79d0 100644 --- a/web/routes/attachment/index.js +++ b/web/routes/attachment/index.js @@ -35,9 +35,7 @@ module.exports = { try { const { filename } = ctx.request.query; const fkey = decodeURI(ctx.path.slice(fetchUrl.length + 1)).replace(/\.json$/, '.js'); - console.log(fkey); const publicDownloadUrl = await app.fs.attachment.download(fkey); - console.log("publicDownloadUrl:", publicDownloadUrl); ctx.status = 200; if (filename) ctx.attachment(filename); ctx.body = request.get(publicDownloadUrl);