mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-23 14:46:20 +00:00
aumentar timeout
This commit is contained in:
parent
feb197f074
commit
2f8dab4614
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ export async function getHtml(url: string) {
|
|||
"Accept-Encoding": "gzip, deflate, br",
|
||||
},
|
||||
throwOnError: true,
|
||||
bodyTimeout: 10 * 60 * 1000,
|
||||
});
|
||||
let output: Buffer;
|
||||
switch (res.headers["content-encoding"]) {
|
||||
|
|
Loading…
Reference in a new issue