Skip to content

Commit 04e5bc7

Browse files
authored
Merge pull request #97 from RGBvision/patch-1
fix: android timeout
2 parents cd812fe + d648278 commit 04e5bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/https/request.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ export function getClient(opts: Partial<HttpsRequestOptions> = {}, reload: boole
265265
const timeout = opts.timeout ?? 10;
266266
const cookiesEnabled = opts.cookiesEnabled ?? true;
267267
if (Client && reload === false) {
268-
const needTimeoutChange = timeout === _timeout;
268+
const needTimeoutChange = timeout !== _timeout;
269269
const needCookiesChange = cookiesEnabled === _cookiesEnabled;
270270
if (!needTimeoutChange && !needCookiesChange) {
271271
return Client;

0 commit comments

Comments
 (0)