mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
use http in base url in test builds
This commit is contained in:
parent
973fae36e2
commit
d8541fd0d0
@ -75,4 +75,12 @@ unsigned long long PageRequestMessagedHandler::getLastGetAsU64(const std::string
|
||||
return 0;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string PageRequestMessagedHandler::getBaseUrl()
|
||||
{
|
||||
if (ServerConfig::g_ServerSetupType == ServerConfig::SERVER_TYPE_TEST) {
|
||||
return "http://" + mHost + mLoginServerPath;
|
||||
}
|
||||
return "https://" + mHost + mLoginServerPath;
|
||||
}
|
||||
@ -28,7 +28,7 @@ protected:
|
||||
virtual Languages chooseLanguage(Poco::Net::HTTPServerRequest& request, std::string lang_btn = "");
|
||||
|
||||
unsigned long long getLastGetAsU64(const std::string& uri);
|
||||
inline std::string getBaseUrl() { return "https://" + mHost + mLoginServerPath; }
|
||||
std::string getBaseUrl();
|
||||
|
||||
Profiler mTimeProfiler;
|
||||
std::string mHost;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user