Skip to content

Commit

Permalink
set connectTimeout from Init
Browse files Browse the repository at this point in the history
  • Loading branch information
hygkui authored Dec 25, 2023
1 parent 38b5d37 commit b71da34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/http/guest-js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export async function fetch(
init?: RequestInit & ClientOptions,
): Promise<Response> {
const maxRedirections = init?.maxRedirections;
const connectTimeout = init?.maxRedirections;
const connectTimeout = init?.connectTimeout;
const proxy = init?.proxy;

// Remove these fields before creating the request
Expand Down

0 comments on commit b71da34

Please sign in to comment.