Skip to content

Commit

Permalink
Fix: Allow --ignoreInvalidTLS flag to override allowUnauthorized valu…
Browse files Browse the repository at this point in the history
…e for HTTP fetcher (#1328)
  • Loading branch information
dennypradipta authored Dec 6, 2024
1 parent dda317a commit 21833ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/probe/prober/http/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ export async function httpRequest({
timeout,
body,
ping,
allowUnauthorized,
allowUnauthorized = requestConfig.allowUnauthorized ??
getContext().flags.ignoreInvalidTLS,
followRedirects,
signal,
} = requestConfig
Expand Down

0 comments on commit 21833ac

Please sign in to comment.