We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e776e7b commit c15085eCopy full SHA for c15085e
lib/http-proxy/passes/web-incoming.ts
@@ -226,9 +226,9 @@ async function stream2(
226
handleError(err);
227
});
228
229
- const customFetch = options.customFetch || fetch;
+ const customFetch = options.fetch || fetch;
230
231
- const fetchOptions = (options.fetchOptions === true ? {} : options.fetchOptions) as FetchOptions;
+ const fetchOptions = options.fetchOptions ?? {} as FetchOptions;
232
233
234
if (options.forward) {
0 commit comments