Give WinsockNetLayer::DoWinHttpRequest a url instead of it just being 1

This commit is contained in:
2026-06-15 22:38:00 -04:00
parent fc93ed09bf
commit 525c5170b9
3 changed files with 9 additions and 7 deletions
@@ -148,7 +148,7 @@ static bool FetchSessionInfo() {
std::vector<std::wstring> headers;
headers.push_back(L"Content-Type: text/plain");
HttpResponse response = WinsockNetLayer::DoWinHttpRequest(L"/accountinfo", L"POST", Windows64Minecraft::GetAuthenticationTicket(), headers);
HttpResponse response = WinsockNetLayer::DoWinHttpRequest(L"auth.mclegacyedition.xyz", L"/accountinfo", L"POST", Windows64Minecraft::GetAuthenticationTicket(), headers);
if (response.status == 0) return false;