mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-03 14:26:09 +00:00
Application: Move some string literal URLs to functions
This commit is contained in:
@@ -261,7 +261,7 @@ void TNetwork::Authentication(SOCKET TCPSock) {
|
||||
}
|
||||
|
||||
if (!Rc.empty()) {
|
||||
Rc = Http::POST("auth.beammp.com", "/pkToUser", {}, R"({"key":")" + Rc + "\"}", true);
|
||||
Rc = Http::POST(Application::GetBackendUrlForAuth(), "/pkToUser", {}, R"({"key":")" + Rc + "\"}", true);
|
||||
}
|
||||
|
||||
debug("Auth response: " + Rc);
|
||||
|
||||
Reference in New Issue
Block a user