fix types

This commit is contained in:
syuilo
2022-04-03 16:30:22 +09:00
parent 41c2aed7dc
commit 91f4ec3747
4 changed files with 12 additions and 8 deletions

View File

@ -42,7 +42,8 @@ async function getCaptchaResponse(url: string, secret: string, response: string)
headers: {
'User-Agent': config.userAgent,
},
timeout: 10 * 1000,
// TODO
//timeout: 10 * 1000,
agent: getAgentByUrl,
}).catch(e => {
throw `${e.message || e}`;