Skip to content

Commit

Permalink
fix: android timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
RGBvision authored Jul 10, 2024
1 parent cd812fe commit d648278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/https/request.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export function getClient(opts: Partial<HttpsRequestOptions> = {}, reload: boole
const timeout = opts.timeout ?? 10;
const cookiesEnabled = opts.cookiesEnabled ?? true;
if (Client && reload === false) {
const needTimeoutChange = timeout === _timeout;
const needTimeoutChange = timeout !== _timeout;
const needCookiesChange = cookiesEnabled === _cookiesEnabled;
if (!needTimeoutChange && !needCookiesChange) {
return Client;
Expand Down

0 comments on commit d648278

Please sign in to comment.