From fe652cbf42e426027c649b7c16d52a4ef308a0e2 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Mon, 6 Dec 2021 15:08:01 +0100 Subject: [PATCH] Fix server paths --- src/Http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }