Skip to content

Commit

Permalink
update curl to follow links
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick committed Nov 12, 2023
1 parent 9b80984 commit 9fc96e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GWToolbox/Download.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ bool Download(std::string& content, const char* url)
{
RestClient client;
client.SetUrl(url);
client.SetFollowLocation(true);
client.SetVerifyPeer(false);
client.SetTimeoutSec(5);
client.SetUserAgent("curl/7.71.1");
Expand Down

0 comments on commit 9fc96e9

Please sign in to comment.