From daa5c79ed6c8acbfc85373bfde94f696a2d5e439 Mon Sep 17 00:00:00 2001 From: "cn.yimian.xyz" Date: Sun, 6 Sep 2020 13:40:37 +0800 Subject: [PATCH] to lazy --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 09b74c8..b5a5523 100644 --- a/src/index.js +++ b/src/index.js @@ -141,7 +141,7 @@ app.post('/imgbed', multer({ } }); if(o.data.length == files.length){ - // res.end(JSON.stringify(o)); + res.end(JSON.stringify(o)); } }); @@ -157,6 +157,6 @@ app.post('/imgbed', multer({ */ } // 设置响应类型及编码 - res.end(JSON.stringify(o)); + //res.end(JSON.stringify(o)); } });