diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-04 16:32:10 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-04 16:32:10 +0200 |
commit | 938fbe7a2f2f10a3abb530a9463e57fc20f40038 (patch) | |
tree | 62ee0c285c672b10a42b0690a011ede7a0bf00b6 /webserver.cpp | |
parent | 95d5acc8c7e60255b19e7084e374eb26cc5d0ba3 (diff) |
HTTP and HTTPs
Diffstat (limited to 'webserver.cpp')
-rw-r--r-- | webserver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webserver.cpp b/webserver.cpp index 3f7a2a3..dd06021 100644 --- a/webserver.cpp +++ b/webserver.cpp @@ -1,5 +1,5 @@ #include "config.h" -#include "http.h" +#include "server.h" #include "plugin.h" #include <exception> @@ -40,7 +40,7 @@ int main(int argc, char* argv[]) if (!plugin_loader.validate_config()) throw std::runtime_error("Couldn't find all configured plugins."); - return http_server(argc, argv); + return server(config); } catch (const std::exception& ex) { std::cout << "Error: " << ex.what() << std::endl; return 1; |