mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-24 21:40:48 +02:00
fix: fix http plugin fetch init with connectTimeout. (#858)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user