Application: Move some string literal URLs to functions

This commit is contained in:
Lion Kortlepel
2021-03-18 23:30:52 +01:00
parent c372e63bd1
commit e6109c98bd
4 changed files with 8 additions and 4 deletions

View File

@@ -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);