Skip to content

Commit

Permalink
Fix exception due to improper HTTP client construction
Browse files Browse the repository at this point in the history
  • Loading branch information
patchoulish committed Nov 16, 2024
1 parent 64af7b1 commit f49b0bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/Kagi/KagiService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ private static HttpClient CreateHttpClient(

var httpClient =
new HttpClient(
new KagiDelegatingHandler(),
new KagiDelegatingHandler()
{
InnerHandler =
new HttpClientHandler()
},
disposeHandler: true);

// Set the base URL for the client to use.
Expand Down

0 comments on commit f49b0bb

Please sign in to comment.