mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-22 02:45:49 -04:00
this much silliness should be impossible !!!!
This commit is contained in:
parent
e58ed225d8
commit
ea81897d5b
2 changed files with 3 additions and 4 deletions
loader/src
|
@ -52,7 +52,7 @@ void updater::fetchLatestGithubRelease(
|
|||
|
||||
std::string modifiedSince;
|
||||
if (!force) {
|
||||
modifiedSince = Mod::get()->getSavedValue("last-modified-github-release-check", std::string());
|
||||
modifiedSince = Mod::get()->getSavedValue("last-modified-auto-update-check", std::string());
|
||||
}
|
||||
|
||||
// TODO: add header to not get rate limited
|
||||
|
|
|
@ -347,10 +347,9 @@ SentAsyncWebRequest::Impl::Impl(SentAsyncWebRequest* self, AsyncWebRequest const
|
|||
auto colon = line.find(':');
|
||||
if (colon == std::string::npos) continue;
|
||||
auto key = line.substr(0, colon);
|
||||
auto value = line.substr(colon + 1);
|
||||
headers[key] = value;
|
||||
auto value = line.substr(colon + 2);
|
||||
self->m_responseHeader[key] = value;
|
||||
}
|
||||
self->m_responseHeader = std::move(headers);
|
||||
});
|
||||
return size * nitems;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue