Skip to content

Commit

Permalink
fix: change UserAgent to real Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
pwall2222 committed Mar 30, 2024
1 parent 61e74d4 commit 004441d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NOWT/Helpers/Login.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public static async Task<RestResponse> DoCachedRequestAsync(

if (userAgentTrickery)
{
client.AddDefaultHeader("User-Agent", "Mozilla/5.0");
client.AddDefaultHeader("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0");
}

var request = new RestRequest();
Expand Down

0 comments on commit 004441d

Please sign in to comment.