diff options
| author | JosJuice <josjuice@gmail.com> | 2020-10-05 22:18:04 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2020-10-05 22:18:04 +0200 |
| commit | 63f5fa6e19f3a43b47015cff027bb46133d0a2bf (patch) | |
| tree | b24c99094e4a227d972b2da663ee0a6b697eedd3 /Source/Core | |
| parent | c2975c8cb5f495793864971ac8d0e6edb0fb87db (diff) | |
Replace geckocodes.org with mirror codes.rc24.xyz
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/GeckoCodeConfig.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/Core/GeckoCodeConfig.cpp b/Source/Core/Core/GeckoCodeConfig.cpp index 7bf0e59c1f..d11035306f 100644 --- a/Source/Core/Core/GeckoCodeConfig.cpp +++ b/Source/Core/Core/GeckoCodeConfig.cpp @@ -18,12 +18,10 @@ namespace Gecko { std::vector<GeckoCode> DownloadCodes(std::string gametdb_id, bool* succeeded) { - std::string endpoint{"https://www.geckocodes.org/txt.php?txt=" + gametdb_id}; + // codes.rc24.xyz is a mirror of the now defunct geckocodes.org. + std::string endpoint{"https://codes.rc24.xyz/txt.php?txt=" + gametdb_id}; Common::HttpRequest http; - // Circumvent high-tech DDOS protection - http.SetCookies("challenge=BitMitigate.com;"); - // The server always redirects once to the same location. http.FollowRedirects(1); |
