From 0d157fb407a35f8afe6d6f0f4c2cc5cd5d5a1933 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 9 Apr 2020 18:30:32 +0200 Subject: Prepared generate_page for static-files plugin --- webserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webserver.cpp') diff --git a/webserver.cpp b/webserver.cpp index dd06021..71829bb 100644 --- a/webserver.cpp +++ b/webserver.cpp @@ -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 server(config); + return run_server(config, plugin_loader.get_plugins()); } catch (const std::exception& ex) { std::cout << "Error: " << ex.what() << std::endl; return 1; -- cgit v1.2.3