Update GeckoCodes code download to use https

The WiiRD codes respository at https://geckocodes.org has started using HTTPS, and 301 Redirecting traffic from HTTP to HTTPS.  The HTTP client does not appear to be able to handle a 301 Redirect and instead fails when attempting to download codes. This pull request is purely a string replacement to set the URL as HTTPS.
This commit is contained in:
Cody Wilson 2019-01-20 11:26:29 -05:00 committed by GitHub
parent 3627ef8a04
commit 00f786384d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ std::vector<GeckoCode> DownloadCodes(std::string gameid, bool* succeeded)
break;
}
std::string endpoint{"http://geckocodes.org/txt.php?txt=" + gameid};
std::string endpoint{"https://geckocodes.org/txt.php?txt=" + gameid};
Common::HttpRequest http;
// Circumvent high-tech DDOS protection