mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T172, using centralized swift test server
Remark: The credentials for the server were distributed in multiple places, now cnetralized in one
This commit is contained in:
@@ -233,7 +233,7 @@ namespace BlackCore
|
||||
|
||||
CServerList CGlobalSetup::getFsdTestServersPlusHardcodedServers() const
|
||||
{
|
||||
static const CServerList hardcoded({ CServer("swift", "swift Testserver", "vatsim-germany.org", 6809, CUser("1234567", "swift Test User", "", "123456"), CServer::FSDServerVatsim, true) });
|
||||
static const CServerList hardcoded({ CServer::swiftFsdTestServer() });
|
||||
CServerList testServers(m_fsdTestServers);
|
||||
testServers.addIfAddressNotExists(hardcoded);
|
||||
return testServers;
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace BlackCore
|
||||
static const BlackMisc::Network::CServer &defaultValue()
|
||||
{
|
||||
using namespace BlackMisc::Network;
|
||||
static const CServer dv("Testserver", "Client project testserver", "fsd.swift-project.org", 6809, CUser("guest", "Guest Client project", "", "guest"));
|
||||
static const CServer dv = CServer::swiftFsdTestServer();
|
||||
return dv;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user