diff --git a/controller/websocket.js b/controller/websocket.js index f65c05b..4ba7ebb 100644 --- a/controller/websocket.js +++ b/controller/websocket.js @@ -58,7 +58,7 @@ exports.save = async (ws, req) => { if (await redis.get(id) != 'downloading') { await redis.set(id, 'downloading') - const confirm = true //await captcha.checkCaptcha(msg) + const confirm = await captcha.checkCaptcha(msg) if (confirm) startDownloading() else {