Fixed random stops while creating stream
 Fixed search returning undefined description.
 Updated @types/node version
This commit is contained in:
Killer069 2021-10-20 19:08:07 +05:30 committed by GitHub
commit 3416cd493f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ export function request_stream(req_url: string, options: RequestOpts = { method:
return;
}
if (Number(res.statusCode) >= 300 && Number(res.statusCode) < 400) {
res = await https_getter(res.headers.location as string, options);
res = await request_stream(res.headers.location as string, options);
}
resolve(res);
});