diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-09 18:30:32 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-09 18:30:32 +0200 |
commit | 0d157fb407a35f8afe6d6f0f4c2cc5cd5d5a1933 (patch) | |
tree | 86ccea82ebbe29197eacb9a85e8ec7548c5ae38c /webserver.cpp | |
parent | 2f42619303627db401e469e2fd65123cd794a378 (diff) |
Prepared generate_page for static-files plugin
Diffstat (limited to 'webserver.cpp')
-rw-r--r-- | webserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |