diff --git a/src/Init/Heartbeat.cpp b/src/Init/Heartbeat.cpp index 0adde69..fb38486 100644 --- a/src/Init/Heartbeat.cpp +++ b/src/Init/Heartbeat.cpp @@ -56,12 +56,12 @@ std::string RunPromise(const std::string& host, const std::string& target, const R = GenerateCall(); if (!CustomIP.empty()) R += "&ip=" + CustomIP; - T = RunPromise("https://beammp.com", "/heartbeatv2", R); + T = RunPromise("beammp.com", "/heartbeatv2", R); if (T.substr(0, 2) != "20") { //Backend system refused server startup! std::this_thread::sleep_for(std::chrono::seconds(10)); - T = RunPromise("https://backup1.beammp.com", "/heartbeatv2", R); + T = RunPromise("backup1.beammp.com", "/heartbeatv2", R); if (T.substr(0, 2) != "20") { warn("Backend system refused server! Server might not show in the public list"); } diff --git a/src/Network/Auth.cpp b/src/Network/Auth.cpp index bab6ac7..8c5b18c 100644 --- a/src/Network/Auth.cpp +++ b/src/Network/Auth.cpp @@ -20,7 +20,7 @@ std::string GetClientInfo(const std::string& PK) { if (!PK.empty()) { - return PostHTTP("https://auth.beammp.com", 443, "/pkToUser", R"({"key":")" + PK + "\"}", true); + return PostHTTP("auth.beammp.com", 443, "/pkToUser", R"({"key":")" + PK + "\"}", true); } return ""; }