diff --git a/src/Http.cpp b/src/Http.cpp index 0aff8da..136facb 100644 --- a/src/Http.cpp +++ b/src/Http.cpp @@ -273,7 +273,7 @@ void Http::Server::THttpServerInstance::operator()() { beammp_info("HTTP(S) Server started on port " + std::to_string(Application::Settings.HTTPServerPort)); std::unique_ptr HttpLibServerInstance; if (Application::Settings.HTTPServerUseSSL) { - HttpLibServerInstance = std::make_unique(Application::Settings.SSLCertPath.c_str(), Application::Settings.SSLKeyPath.c_str()); + HttpLibServerInstance = std::make_unique(Http::Server::THttpServerInstance::CertFilePath.c_str(), Http::Server::THttpServerInstance::KeyFilePath.c_str()); } else { HttpLibServerInstance = std::make_unique(); }