Skip to content

Commit

Permalink
Merge branch 'main' into osx
Browse files Browse the repository at this point in the history
  • Loading branch information
Beyley authored May 25, 2024
2 parents 8bdd2fd + e077327 commit 8e6c429
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Refresher/UI/PatchForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ private void AutoDiscover(object? sender, EventArgs arg)
{
using HttpClient client = new();
client.BaseAddress = autodiscoverUri;
client.DefaultRequestHeaders.UserAgent.ParseAdd("Refresher/3");

HttpResponseMessage response = client.GetAsync("/autodiscover").Result;
response.EnsureSuccessStatusCode();
Expand Down

0 comments on commit 8e6c429

Please sign in to comment.