Merge pull request #584 from diamante0018/refactor/cache

[Cache]: Remove unused code
This commit is contained in:
Edo 2022-11-23 19:48:46 +00:00 committed by GitHub
commit d87e52737e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,9 +27,6 @@ namespace Utils
if (ValidUrl.empty()) if (ValidUrl.empty())
{ {
InternetSetCookieA("https://onion.casa", "disclaimer_accepted", "1");
InternetSetCookieA("https://hiddenservice.net", "disclaimer_accepted", "1");
for (std::size_t i = 0; i < ARRAYSIZE(Urls); ++i) for (std::size_t i = 0; i < ARRAYSIZE(Urls); ++i)
{ {
std::string result = WebIO(useragent, GetUrl(Urls[i], path)).setTimeout(timeout)->get(); std::string result = WebIO(useragent, GetUrl(Urls[i], path)).setTimeout(timeout)->get();