fix types
This commit is contained in:
parent
41c2aed7dc
commit
91f4ec3747
4 changed files with 12 additions and 8 deletions
|
@ -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}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue